FrequencyResponse.fft: Compute frequency response for input sensor data.

Usage Arguments Value

View source: R/FrequencyResponse.R

Usage

1
2
FrequencyResponse.fft(sensorData, Fs, type = "magnitude",
  normalize = "normalized")

Arguments

sensorData

input dataframe that matches mhealth specification.

Fs

sampling rate of the input signal.

type

"magnitude" or "vector". "magnitude": magnitude value of fft results; "vector": vector of fft results.

normalize

"summed", "average", "normalized", "unnormalized".

Value

frequency dataframe with HEADER 'HEADER_FREQUENCY_STAMP,[FFTMAGNITUDE/FFTVECTOR]_[ORIGINAL_HEADER]'.


qutang/mhealth-visualizer-r documentation built on Sept. 4, 2019, 3:34 a.m.