Struct acq_state_t¶
Streaming acquisition-engine state. More...
#include <acq_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| double | chip_rate |
| double | cn0_dbhz |
| size_t | code_bins |
| float complex * | colbuf |
| float complex * | colout |
| corr2d_state_t * | corr |
| size_t | doppler_bins |
| double | doppler_res_hz |
| double | doppler_span_hz |
| float | eta |
| float | eta_nc |
| double | fs |
| float * | mag_buf |
| size_t | max_noncoh |
| size_t | n |
| size_t | n_noncoh |
| size_t | nc_count |
| float * | nc_surface |
| float | noise_est |
| size_t | noise_hi |
| size_t | noise_lo |
| det_noise_mode_t | noise_mode |
| float * | noise_scratch |
| float complex * | out_buf |
| double | pd |
| double | pd_predicted |
| size_t | peak_col |
| float | peak_mag |
| size_t | peak_row |
| double | pfa_cell |
| float complex * | ref |
| size_t | reps |
| dp_f32_t * | ring |
| size_t | ring_cap |
| uint64_t | samples_consumed |
| size_t | searched_bins |
| size_t | sf |
| fft_state_t * | slow_fft |
| size_t | spc |
| float | test_stat |
| float | threshold |
| uint8_t | underpowered |
| float complex * | yframe |
Detailed Description¶
Allocate with acq_create(); never stack-allocate.
Public Attributes Documentation¶
variable chip_rate¶
Chip rate (Hz).
variable cn0_dbhz¶
Sensitivity used to size the search (dB-Hz).
variable code_bins¶
One segment in samples = sf*spc.
variable colbuf¶
Gathered column scratch (doppler_bins).
variable colout¶
FFT'd column scratch (doppler_bins).
variable corr¶
Single-row-ref correlator (dwell=1).
variable doppler_bins¶
Coherent depth = slow-time FFT length (<= reps).
variable doppler_res_hz¶
Doppler bin width = chip_rate/(sf*doppler_bins).
variable doppler_span_hz¶
Native Doppler half-range = chip_rate/(2*sf).
variable eta¶
Raw per-cell Rayleigh amplitude threshold.
variable eta_nc¶
Non-coherent CFAR threshold (order-N_nc Marcum).
variable fs¶
Sample rate (Hz) = chip_rate * spc.
variable mag_buf¶
|out_buf| (n).
variable max_noncoh¶
Cap on the auto-split non-coherent look count.
variable n¶
doppler_bins * code_bins — frame size in samples.
variable n_noncoh¶
Non-coherent looks per detection (1 = coherent).
variable nc_count¶
Coherent dumps in the current look (0…n_noncoh-1).
variable nc_surface¶
Non-coherent |·|² accumulator (n); NULL unless n_noncoh > 1.
variable noise_est¶
variable noise_hi¶
Last CFAR reference bin (inclusive).
variable noise_lo¶
First CFAR reference bin (inclusive).
variable noise_mode¶
CFAR aggregation mode.
variable noise_scratch¶
Scratch for the median sort (n).
variable out_buf¶
corr2d dump output (n).
variable pd¶
Target detection probability.
variable pd_predicted¶
Predicted Pd at cn0_dbhz and the chosen grid.
variable peak_col¶
variable peak_mag¶
variable peak_row¶
variable pfa_cell¶
Bonferroni per-cell false-alarm probability.
variable ref¶
Single-row reference (n), owned.
variable reps¶
Max coherent code repetitions (the ceiling).
variable ring¶
Raw cf32 input ring (the only ring).
variable ring_cap¶
Ring capacity in complex samples.
variable samples_consumed¶
Total framed samples (the state's offset).
variable searched_bins¶
Doppler bins scanned (<= doppler_bins; du prior).
variable sf¶
Chips per PN segment (= len(code)).
variable slow_fft¶
Length-doppler_bins forward FFT (slow time).
variable spc¶
Samples per chip (chip-rate oversample factor).
variable test_stat¶
variable threshold¶
CFAR gate on test_stat (theta); coherent path.
variable underpowered¶
1 when pd_predicted < pd.
variable yframe¶
Slow-time-FFT'd frame (n) fed to corr.
The documentation for this class was generated from the following file native/inc/acq/acq_core.h