Struct dp_correlator_state_t¶
ClassList > dp_correlator_state_t
Correlator state, every flavor. More...
#include <correlator_core.h>
Public Attributes¶
| Type | Name |
|---|---|
| unsigned char | _hot_pad |
| int | _last_corr_valid |
| float _Complex * | accum |
| uint8_t * | band_mask |
| float _Complex * | bat_acc |
| float _Complex * | bat_fine |
| float _Complex * | bat_map |
| float _Complex * | bat_pad |
| float _Complex * | bat_work |
| int | col_out |
| float _Complex * | col_ref |
| size_t | consumed |
| size_t | count |
| float _Complex * | dd_fine |
| int | dd_fused |
| struct dp__dd_map * | dd_map |
| size_t * | dd_rows |
| float _Complex * | det_out |
| double | doppler_step |
| size_t | dwell |
| int | fast_path |
| dp_correlator_flavor_t | flavor |
| dp_f32_framer_t | framer |
| dp_fft2d_state_t * | fwd |
| dp_fft_state_t * | fwd1d |
| dp_fft2d_state_t * | inv |
| dp_fft_state_t * | inv1d |
| float * | mag_buf |
| size_t | max_peaks |
| size_t | n |
| size_t | n_out |
| size_t | n_peaks |
| size_t | n_twins |
| float | noise_est |
| size_t | noise_hi |
| size_t | noise_lo |
| det_noise_mode_t | noise_mode |
| float * | noise_scratch |
| int | nworkers |
| size_t | nx |
| size_t | nx_out |
| size_t | ny |
| size_t | ny_out |
| size_t | peak_col |
| float | peak_mag |
| uint8_t * | peak_mask |
| size_t | peak_row |
| det_peak_t * | peaks |
| dp_pool_t * | pool |
| float _Complex * | ref_spec |
| dp_f32_t * | ring |
| size_t | ring_cap |
| dp_fft_state_t ** | row_fwd |
| dp_fft_state_t ** | row_inv |
| float _Complex * | row_ref_spec |
| dp_correlator_search_t * | search |
| dp_correlator_search_t | search_rec |
| float | test_stat |
| float | threshold |
| uint32_t * | twin_col |
| uint32_t * | twin_row |
| float _Complex * | work_fft |
| float _Complex * | work_pad |
| float _Complex * | work_trunc |
| float _Complex * | zcol |
| float _Complex * | zcolout |
| int | zone_all_doppler |
| double | zone_half_chips |
| float _Complex * | ztmp |
Detailed Description¶
Allocate with a dp_correlator_create_*() constructor; never stack-allocate. All heap buffers are ny * nx complex floats stored in row-major order.
Public Attributes Documentation¶
variable _hot_pad¶
Keeps count off the read fields' cache lines.
variable _last_corr_valid¶
1 once a dump has filled det_out; 0 after create, reset and set_state.
variable accum¶
Coherent product-spectrum accumulator, same (ny,nx)/reinterpretation rule as work_fft.
variable band_mask¶
n_surf; 1 = outside the searched band.
variable bat_acc¶
Per-worker accumulators, nworkers x n; zero between maps.
variable bat_fine¶
Per-worker dd_fine for batches; NULL when the map runs rows first.
variable bat_map¶
Per-worker maps, nworkers x n_out.
variable bat_pad¶
Per-worker row zero-pad, nworkers x ny x nx_out; fast path with nx_out > nx only.
variable bat_work¶
Per-worker forward spectra, nworkers x n.
variable col_out¶
Output column, or < 0 for the full map.
variable col_ref¶
conj(ref row 0) in the TIME domain, length nx; NULL when col_out < 0.
variable consumed¶
Input samples the last push took.
variable count¶
Frames accumulated (0 … dwell-1).
variable dd_fine¶
The map's scratch when it runs whole (slow first, or one slow row); NULL when it runs rows first, fused into the row stage. Delay-Doppler.
variable dd_fused¶
1 when the map runs rows first (its rule at one tile, one rate): the dump frame's rows are inverted as they are accumulated.
variable dd_map¶
The one delay-Doppler block map (docs/design/acq-surface.md §18.1), one slot per worker. Delay-Doppler only; internal.
variable dd_rows¶
Output row of slow row i: the centered (i + ny_out/2) mod ny_out.
variable det_out¶
The last dump's correlation map, n complex samples.
variable doppler_step¶
Doppler spacing between adjacent output rows, cycles/sample: 1 / (ny_out * nx). 0 for the 2-D map.
variable dwell¶
Integration depth.
variable fast_path¶
1 if using the 1-D-per-row fast path.
variable flavor¶
The constructor that built it.
variable framer¶
Any chunk in, n-sample frames out.
variable fwd¶
Forward 2-D plan (sign = -1) at (ny, nx). NULL when fast_path.
variable fwd1d¶
Forward 1-D plan, length nx. Fast only.
variable inv¶
Inverse 2-D plan (sign = +1) at (ny_out,…). NULL when fast_path.
variable inv1d¶
Inverse 1-D plan, length nx_out. Fast only.
variable mag_buf¶
|det_out|, n floats.
variable max_peaks¶
Peak-list capacity per dwell (1 = the maximum only); dp_correlator_set_max_peaks().
variable n¶
ny * nx — total element count.
variable n_out¶
ny_out * nx_out — output element count.
variable n_peaks¶
Search flavors: picks in the last dwell, held ones too.
variable n_twins¶
Search flavors: picks carried over from the last dwell.
variable noise_est¶
Last dump: the noise floor.
variable noise_hi¶
Noise bin range, last (inclusive).
variable noise_lo¶
Noise bin range, first (inclusive).
variable noise_mode¶
Noise aggregation.
variable noise_scratch¶
Scratch for the median's sort.
variable nworkers¶
Chunks per stage (1 = serial).
variable nx¶
Column count.
variable nx_out¶
Output columns (== nx unless decoupled).
variable ny¶
Row count.
variable ny_out¶
Output rows (== ny unless decoupled).
variable peak_col¶
Last dump: peak column (the lag at one row).
variable peak_mag¶
Last dump: peak |R|.
variable peak_mask¶
n_surf; the working mask.
variable peak_row¶
Last dump: peak row (0 before one).
variable peaks¶
max_peaks: the last dwell's picks.
variable pool¶
Persistent workers; NULL when serial.
variable ref_spec¶
conj(FFT2(ref)), pre-computed. (ny, nx). NULL when fast_path (see row_ref_spec).
variable ring¶
The carry's storage: bound to framer, freed by destroy.
variable ring_cap¶
Ring capacity, complex samples.
variable row_fwd¶
Per-worker forward row plans, length nx; worker 0's is fwd1d. Fast path only.
variable row_inv¶
Per-worker inverse row plans, length nx_out; worker 0's is inv1d. Fast path only.
variable row_ref_spec¶
conj(FFT_nx(ref row 0)), length nx. Fast-path replacement for ref_spec.
variable search¶
The search policy: search_rec in the search flavors, NULL in the other five.
variable search_rec¶
search points here in a search flavor.
variable test_stat¶
Last dump: peak_mag / noise_est, or 0.
variable threshold¶
0 = always fire; > 0 gates test_stat.
variable twin_col¶
max_peaks: last dwell's picks, code phases.
variable twin_row¶
max_peaks: last dwell's picks, native rows.
variable work_fft¶
Scratch: FFT(in)·ref_spec product. (ny,nx) either path — fast path reinterprets this as ny independent length-nx row spectra.
variable work_pad¶
Zero-padded product, (ny_out, nx_out) or, fast path, (ny, nx_out).
variable work_trunc¶
Bounce buffer for a dump into an under-sized out (jm gh-138). Both execute paths the 2-D inverse and the per-row fast path write the full n_out surface, so a short out is served by writing here and copying the prefix. Allocated lazily; the sized path never touches it.
variable zcol¶
Column gather scratch, (ny). General path only.
variable zcolout¶
Column-padded scratch, (ny_out). General path only.
variable zone_all_doppler¶
dp_correlator_set_peak_zone(): 1 = a listed peak's zone covers every Doppler bin of every roll; 0 = one native row (default).
variable zone_half_chips¶
... and its half-width in chips across the lags; <= 0 = the template's mainlobe (shape.zone, the default).
variable ztmp¶
Row-padded intermediate, (ny, nx_out). General path only.
The documentation for this class was generated from the following file native/inc/doppler/correlator/correlator_core.h