Struct psd_state_t¶
PSD state. Allocate with psd_create() .
#include <psd_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| acc_trace_state_t * | avg |
| size_t | bits |
| double | cg |
| float * | dbbuf |
| double | enbw |
| fft_state_t * | fft |
| float complex * | frame |
| double | fs |
| double | full_scale |
| size_t | n |
| size_t | nfft |
| float * | pwr |
| double | s2 |
| float complex * | spec |
| float * | w |
Public Attributes Documentation¶
variable avg¶
Per-bin power averager, length nfft.
variable bits¶
ADC depth that set full_scale, else 0.
variable cg¶
Window coherent gain, sum(w).
variable dbbuf¶
dB-trace scratch, length nfft.
variable enbw¶
Equivalent noise bandwidth, bins.
variable fft¶
Forward cf32 plan, size nfft.
variable frame¶
Windowed + zero-padded, length nfft.
variable fs¶
Sample rate, Hz.
variable full_scale¶
Amplitude that reads 0 dBFS.
variable n¶
Window / frame length (samples).
variable nfft¶
Zero-padded transform length.
variable pwr¶
DC-centred power scratch, length nfft.
variable s2¶
Window power, sum(w^2).
variable spec¶
FFT output scratch, length nfft.
variable w¶
Window, length n.
The documentation for this class was generated from the following file native/inc/psd/psd_core.h