new_swdft function

Constructor function for class 'swdft'

Constructor function for class 'swdft'

new_swdft(a, x, n, type, pad, taper_type, taper, p, smooth, m, num_convs)

Arguments

  • a: 2D complex array of SWDFT coefficients. If there is smoothing, then this represents the smoothed squared modulus coefficients.
  • x: numeric input signal
  • n: window size
  • type: 'fftw' or 'fft'
  • pad: whether or not it was padded
  • taper_type: type of taper
  • taper: numeric values of the taper
  • p: of cosine taper (if used)
  • smooth: type of smoother
  • m: width of kernel for smoothing (optional)
  • num_convs: number of kernel convolutions (optional)

Returns

list w/ the same elements as the arguments, an S3 object of class 'swdft'

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

Useful links