Skip to content

Struct acq_state_t

ClassList > 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

double acq_state_t::chip_rate;

Chip rate (Hz).


variable cn0_dbhz

double acq_state_t::cn0_dbhz;

Sensitivity used to size the search (dB-Hz).


variable code_bins

size_t acq_state_t::code_bins;

One segment in samples = sf*spc.


variable colbuf

float complex* acq_state_t::colbuf;

Gathered column scratch (doppler_bins).


variable colout

float complex* acq_state_t::colout;

FFT'd column scratch (doppler_bins).


variable corr

corr2d_state_t* acq_state_t::corr;

Single-row-ref correlator (dwell=1).


variable doppler_bins

size_t acq_state_t::doppler_bins;

Coherent depth = slow-time FFT length (<= reps).


variable doppler_res_hz

double acq_state_t::doppler_res_hz;

Doppler bin width = chip_rate/(sf*doppler_bins).


variable doppler_span_hz

double acq_state_t::doppler_span_hz;

Native Doppler half-range = chip_rate/(2*sf).


variable eta

float acq_state_t::eta;

Raw per-cell Rayleigh amplitude threshold.


variable eta_nc

float acq_state_t::eta_nc;

Non-coherent CFAR threshold (order-N_nc Marcum).


variable fs

double acq_state_t::fs;

Sample rate (Hz) = chip_rate * spc.


variable mag_buf

float* acq_state_t::mag_buf;

|out_buf| (n).


variable max_noncoh

size_t acq_state_t::max_noncoh;

Cap on the auto-split non-coherent look count.


variable n

size_t acq_state_t::n;

doppler_bins * code_bins — frame size in samples.


variable n_noncoh

size_t acq_state_t::n_noncoh;

Non-coherent looks per detection (1 = coherent).


variable nc_count

size_t acq_state_t::nc_count;

Coherent dumps in the current look (0…n_noncoh-1).


variable nc_surface

float* acq_state_t::nc_surface;

Non-coherent |·|² accumulator (n); NULL unless n_noncoh > 1.


variable noise_est

float acq_state_t::noise_est;

variable noise_hi

size_t acq_state_t::noise_hi;

Last CFAR reference bin (inclusive).


variable noise_lo

size_t acq_state_t::noise_lo;

First CFAR reference bin (inclusive).


variable noise_mode

det_noise_mode_t acq_state_t::noise_mode;

CFAR aggregation mode.


variable noise_scratch

float* acq_state_t::noise_scratch;

Scratch for the median sort (n).


variable out_buf

float complex* acq_state_t::out_buf;

corr2d dump output (n).


variable pd

double acq_state_t::pd;

Target detection probability.


variable pd_predicted

double acq_state_t::pd_predicted;

Predicted Pd at cn0_dbhz and the chosen grid.


variable peak_col

size_t acq_state_t::peak_col;

variable peak_mag

float acq_state_t::peak_mag;

variable peak_row

size_t acq_state_t::peak_row;

variable pfa_cell

double acq_state_t::pfa_cell;

Bonferroni per-cell false-alarm probability.


variable ref

float complex* acq_state_t::ref;

Single-row reference (n), owned.


variable reps

size_t acq_state_t::reps;

Max coherent code repetitions (the ceiling).


variable ring

dp_f32_t* acq_state_t::ring;

Raw cf32 input ring (the only ring).


variable ring_cap

size_t acq_state_t::ring_cap;

Ring capacity in complex samples.


variable samples_consumed

uint64_t acq_state_t::samples_consumed;

Total framed samples (the state's offset).


variable searched_bins

size_t acq_state_t::searched_bins;

Doppler bins scanned (<= doppler_bins; du prior).


variable sf

size_t acq_state_t::sf;

Chips per PN segment (= len(code)).


variable slow_fft

fft_state_t* acq_state_t::slow_fft;

Length-doppler_bins forward FFT (slow time).


variable spc

size_t acq_state_t::spc;

Samples per chip (chip-rate oversample factor).


variable test_stat

float acq_state_t::test_stat;

variable threshold

float acq_state_t::threshold;

CFAR gate on test_stat (theta); coherent path.


variable underpowered

uint8_t acq_state_t::underpowered;

1 when pd_predicted < pd.


variable yframe

float complex* acq_state_t::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