amp.freq: Computes amplitude and frequency of wave-like data
Description
Computes amplitude(s) and wavelength(s) of a wave form, amongst other things, based on a sampling frequency
Usage
amp.freq(x = NULL, y, sf = 100)
Arguments
x
Numeric; x position (or sample number)
y
numeric; y position
sf
numeric; sample frequency (i.e., how often was x and y sampled) in Hz
Value
a list with amplitude "a", frequency "f", amplitude returned from a smoothed sign function "a.f" based on output from features, signal to noise ratio "snr".