Get range of P's to search
get_p_range(phat, n, N, pwidth, type = "around_max")
phat
: integer. Window position with largest SWDFT coefficientn
: integer. window sizeN
: integer. Signal lengthpwidth
: integer. the range of window positions to search for each window sizetype
: character. either 'around max' or 'fullp'.Useful links