matching_demod: Matching Demodulation

Description Usage Arguments Value

View source: R/demod.R

Description

Matching Demodulation

Usage

1
2
matching_demod(x, n, thresh = 0.05, max_cycles = 5,
  smooth = "butterworth", order = 5, passfreq = 0.1, debug = FALSE)

Arguments

x

numeric. Signal to demodulate

n

integer. Window size for SWDFT

thresh

numeric. Threshold to determine whether to continue demodulating

max_cycles

maximum number of demodulation cycles

smooth

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 5

passfreq

numeric scalar. Pass frequency used in butterworth low-pass filter. defaults to .1

debug

Logical. Whether to print out intermediate output.

Value

An S3 'swdft_matching_demod' object. See ?new_swdft_matching_demod for details.


swdft documentation built on May 2, 2019, 2:27 a.m.