matching_demod function

Matching Demodulation

Matching Demodulation

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.

Returns

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

  • Maintainer: Lee F. Richardson
  • License: MIT + file LICENSE
  • Last published: 2019-04-17

Useful links