Matching Demodulation
matching_demod(x, n, thresh = 0.05, max_cycles = 5, smooth = "butterworth", order = 5, passfreq = 0.1, debug = FALSE)
x
: numeric. Signal to demodulaten
: integer. Window size for SWDFTthresh
: numeric. Threshold to determine whether to continue demodulatingmax_cycles
: maximum number of demodulation cyclessmooth
: character. Type of smoothing to use, accepts either 'ma', 'double_ma', or 'butterworth' (the default)order
: moving average parameter if 'smooth' argument equals 'ma' or 'double_ma'. Defaults to 5passfreq
: numeric scalar. Pass frequency used in butterworth low-pass filter. defaults to .1debug
: Logical. Whether to print out intermediate output.An S3 'swdft_matching_demod' object. See ?new_swdft_matching_demod for details.
Useful links