Represents a backend that calculates FFT from the input and records the result through multiple recorders.
More...
#include <WaterfallBackend.h>
|
|
| WaterfallBackend (int bins, int overlap, string origin) |
| |
|
string | getOrigin () |
| |
|
void | addRecorder (Ref< Recorder > recorder) |
| |
|
virtual void | startStream (StreamInfo info) |
| |
|
virtual void | endStream () |
| |
|
virtual bool | injectDependency (Ref< DIObject > obj, std::string key) |
| |
|
int | fftSamplesToRaw (int sampleCount) |
| |
|
| FFTBackend (int bins, int overlap) |
| |
|
int | getBins () const |
| | Returns number of the FFT bins.
|
| |
|
float | getFFTSampleRate () const |
| | Returns number of FFT samples (results) per second (in Hz).
|
| |
|
SampleType | getGain () |
| |
|
void | setGain (SampleType value) |
| |
|
int | getPhaseShift () |
| |
|
void | setPhaseShift (int value) |
| |
|
virtual void | process (const vector< Complex > &data, DataInfo info) |
| |
|
void | resizeRawBuffer (int sampleCount) |
| |
|
float | binToFrequency (int bin) const |
| |
|
float | binToFrequency () const |
| |
|
int | frequencyToBin (float frequency) const |
| |
| double | fftSamplesToTime (int samples) |
| | Converts number of FFT samples to seconds. More...
|
| |
| int | timeToFFTSamples (double time) |
| | Converts time in seconds to number of FFT samples. More...
|
| |
| | Backend () |
| |
|
StreamInfo | getStreamInfo () const |
| | Return the stream information passed to the backend through startStream().
|
| |
|
|
static Ref< DIObject > | make (Ref< DynObject > config, Ref< DIObject > parent) |
| |
|
static int16_t | floatToInt (float f) |
| |
|
static void | floatToInt (Complex c, int16_t *result) |
| |
|
static void | floatToInt (Complex c, float *result) |
| |
|
|
virtual void | processFFT (const fftw_complex *data, int size, DataInfo info, int rawMark) |
| |
Represents a backend that calculates FFT from the input and records the result through multiple recorders.
The documentation for this class was generated from the following files: