pyewt.usefullfunc module

pyewt.usefullfunc.beta(x)[source]

Beta function used in Meyer and Littlewood-Paley mother wavelets definitions

pyewt.usefullfunc.round_away(x)[source]

Function that rounds away from 0 to mimic the Matlab round function.

Examples: 2.3 -> 2 ; 2.7 -> 3 ; 2.5 -> 3

Parameters:

x (number to round)

Returns:

  • rounded value

  • Function found at

  • https (//stackoverflow.com/questions/59142749/how-to-round-away-from-zero)