DSP::FrequencyDomain
Inherits Reference < Object
Frequency domain analysis class. On instantiation a forward FFT is performed on the given time series data, and the results are stored in full and half form. The half-FFT form cuts out the latter half of the FFT results. Also, for the half-FFT the complex values will be converted to magnitude (linear or decibel) if specified in :fft_format (see FFT_FORMATS for valid values).
Constructors
new(data : Array(Float64), sample_rate : Float64)
SourceInstance methods
freq_magnitudes
Sourcefreq_magnitudes_db
Source