Skip to content

Struct corr_state_t

ClassList > corr_state_t

1-D FFT correlator state. More...

  • #include <corr_core.h>

Public Attributes

Type Name
float complex * accum
size_t count
size_t dwell
fft_state_t * fwd
fft_state_t * inv
size_t n
size_t n_out
float complex * ref_spec
float complex * work_fft
float complex * work_pad

Detailed Description

Allocate with corr_create(); never stack-allocate. ref_spec/work_fft/accum are each n complex floats; work_pad (n_out) exists only on the decoupled-inverse path.

Public Attributes Documentation

variable accum

float complex* corr_state_t::accum;

Coherent product-spectrum accumulator.


variable count

size_t corr_state_t::count;

Frames accumulated so far (0 … dwell-1).


variable dwell

size_t corr_state_t::dwell;

Integration depth; dump every dwell calls.


variable fwd

fft_state_t* corr_state_t::fwd;

Forward plan (sign = -1) at n.


variable inv

fft_state_t* corr_state_t::inv;

Inverse plan (sign = +1) at n_out.


variable n

size_t corr_state_t::n;

FFT / reference length (samples).


variable n_out

size_t corr_state_t::n_out;

Output length (== n unless decoupled).


variable ref_spec

float complex* corr_state_t::ref_spec;

conj(FFT(ref)), pre-computed at create.


variable work_fft

float complex* corr_state_t::work_fft;

Scratch: FFT(in) · ref_spec (product).


variable work_pad

float complex* corr_state_t::work_pad;

Zero-padded product, n_out (NULL native).



The documentation for this class was generated from the following file native/inc/corr/corr_core.h