Struct detector_state_t¶
1-D signal detector state. More...
#include <detector_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| int | _last_corr_valid |
| corr_state_t * | corr |
| float * | mag_buf |
| size_t | n |
| float | noise_est |
| size_t | noise_hi |
| size_t | noise_lo |
| det_noise_mode_t | noise_mode |
| float * | noise_scratch |
| float complex * | out_buf |
| size_t | peak_lag |
| float | peak_mag |
| dp_f32_t * | ring |
| size_t | ring_cap |
| float | test_stat |
| float | threshold |
Detailed Description¶
Allocate with detector_create(); never stack-allocate.
Public Attributes Documentation¶
variable _last_corr_valid¶
1 after the first dump, else 0.
variable corr¶
FFT correlator + int-dump engine.
variable mag_buf¶
|out_buf[k]|, n floats.
variable n¶
Frame / FFT length in complex samples.
variable noise_est¶
variable noise_hi¶
Noise bin range upper bound (inclusive).
variable noise_lo¶
Noise bin range lower bound (inclusive).
variable noise_mode¶
variable noise_scratch¶
Scratch for median sort.
variable out_buf¶
Corr output buffer (n complex samples).
variable peak_lag¶
variable peak_mag¶
variable ring¶
Double-mapped ring buffer (auto-sized).
variable ring_cap¶
Ring buffer capacity in complex samples.
variable test_stat¶
variable threshold¶
0 = always fire; >0 = gate on test_stat.
The documentation for this class was generated from the following file native/inc/detector/detector_core.h