Skip to content

Struct dp_timing_est_state_t

ClassList > dp_timing_est_state_t

SymbolTimingEstimator state. More...

  • #include <timing_est_core.h>

Public Attributes

Type Name
uint64_t blk_first
uint64_t blk_n
double c_im
double c_re
double clock_sps
uint64_t count
double delay
int have_prev
uint32_t inc
uint64_t lead
uint64_t lead_left
dp_RateConverter_state_t * mf
uint32_t phase
double prev_mid
double prev_tau
double pwr
double sps

Detailed Description

Allocate with dp_timing_est_create() or dp_timing_est_create_matched(). sps, clock_sps, inc, lead, delay and the converter's plan are config; the rest is running state and is in the blob.

Public Attributes Documentation

variable blk_first

uint64_t dp_timing_est_state_t::blk_first;

count at the block's first sample.


variable blk_n

uint64_t dp_timing_est_state_t::blk_n;

Samples in the block so far.


variable c_im

double dp_timing_est_state_t::c_im;

Imaginary part of the running coefficient.


variable c_re

double dp_timing_est_state_t::c_re;

Real part of the running coefficient.


variable clock_sps

double dp_timing_est_state_t::clock_sps;

Samples per symbol the clock runs at: sps, or TIMING_EST_MATCHED_SPS on a matched instance, whose clock runs on its converter's output.


variable count

uint64_t dp_timing_est_state_t::count;

Samples taken since create or reset.


variable delay

double dp_timing_est_state_t::delay;

The converter's group delay, in input samples. 0 on a plain instance.


variable have_prev

int dp_timing_est_state_t::have_prev;

1 once a block with power has finished.


variable inc

uint32_t dp_timing_est_state_t::inc;

The clock's step a sample: the NCO's increment for 1 / clock_sps cycles a sample.


variable lead

uint64_t dp_timing_est_state_t::lead;

Converter outputs skipped after create or reset: ceil (memory * rate) + 1, the converter's own start. 0 on a plain instance.


variable lead_left

uint64_t dp_timing_est_state_t::lead_left;

How many of those are still to skip.


variable mf

dp_RateConverter_state_t* dp_timing_est_state_t::mf;

The matched converter, owned; NULL on a plain instance.


variable phase

uint32_t dp_timing_est_state_t::phase;

The symbol clock: a 32-bit fraction of one symbol, at the next sample.


variable prev_mid

double dp_timing_est_state_t::prev_mid;

That block's middle, in symbols of the clock since create or reset.


variable prev_tau

double dp_timing_est_state_t::prev_tau;

That block's tau.


variable pwr

double dp_timing_est_state_t::pwr;

Running sum of |x|^2.


variable sps

double dp_timing_est_state_t::sps;

Samples per symbol of the stream handed to dp_timing_est_estimate().



The documentation for this class was generated from the following file native/inc/doppler/timing_est/timing_est_core.h