#include <GrFFTAvgSink.h>
Inheritance diagram for GrFFTAvgSink< iType >:

Public Member Functions | |
| GrFFTAvgSink (VrGUILayout *layout, double ymin, double ymax, int nPoints=DEFAULT_nPoints, const char *label=FFT_YAXIS_NAME) | |
| ~GrFFTAvgSink () | |
| virtual const char * | name () |
| default name for a module (override with actual name) | |
| virtual void | initialize () |
| Initialize any local state that is dependent on sampling frequency. | |
| virtual int | work3 (VrSampleRange output, VrSampleRange inputs[], void *i[]) |
Static Public Attributes | |
| const int | DEFAULT_nPoints = 512 |
| const int | DIVISIONS = 10 |
| const int | DEFAULT_display_freq = 20 |
| const int | DEFAULT_ffts_per_display = 5 |
| const double | ALPHA = 1.0 / (4 * DEFAULT_ffts_per_display) |
Private Member Functions | |
| void | collectData (iType *i, long count) |
| void | set_skip_count () |
Private Attributes | |
| gr_fft_complex * | d_fft |
| double * | d_xValues |
| double * | d_dbValues |
| double * | d_avgdbValues |
| float * | d_window |
| int | d_nPoints |
| float | d_axis_offset |
| VrGUIPlot * | d_display |
| double | d_ymin |
| double | d_ymax |
| int | d_nextPoint |
| int | d_one_or_two |
| VrGUILayout * | d_layout |
| int | d_increment |
| int | d_skip_count |
| const char * | d_label |
| int | d_display_freq |
| int | d_ffts_per_display |
| int | d_fft_count |
|
||||||||||||||||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
Initialize any local state that is dependent on sampling frequency.
Reimplemented from VrSigProc.
|
|
|||||||||
|
default name for a module (override with actual name)
Reimplemented from VrSink< iType >.
|
|
|||||||||
|
|
|
||||||||||||||||||||
|
Implements VrSink< iType >.
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.8