Skip to content

Struct dp_tonemeas_state_t

ClassList > dp_tonemeas_state_t

ToneMeasure state: owned window, FFT plan and analysis scratch. More...

  • #include <tonemeas_core.h>

Public Attributes

Type Name
double beta
size_t dc_guard
double enbw
unsigned char * excl
double fs
size_t lobe_bins
size_t n
size_t n_harm
size_t nfft
dp_psd_state_t * psd
float * pwr
size_t spur_guard_bins

Detailed Description

Allocate with dp_tonemeas_create(). nfft = next_pow_two(n * MEASURE_PAD) is the zero-padded transform length; enbw is the window's equivalent-noise bandwidth (bins); lobe_bins is the main-lobe half-width L over which a component's power is integrated; spur_guard_bins (>= L) is the wider fundamental keep-out used by the worst-spur search so the fundamental's own sidelobes are never reported as a spur.

Public Attributes Documentation

variable beta

double dp_tonemeas_state_t::beta;

variable dc_guard

size_t dp_tonemeas_state_t::dc_guard;

variable enbw

double dp_tonemeas_state_t::enbw;

Window equivalent noise bandwidth, bins.


variable excl

unsigned char* dp_tonemeas_state_t::excl;

variable fs

double dp_tonemeas_state_t::fs;

Sample rate, Hz.


variable lobe_bins

size_t dp_tonemeas_state_t::lobe_bins;

Window main-lobe half-width L, bins.


variable n

size_t dp_tonemeas_state_t::n;

Capture / frame length, samples.


variable n_harm

size_t dp_tonemeas_state_t::n_harm;

variable nfft

size_t dp_tonemeas_state_t::nfft;

Zero-padded transform length, bins.


variable psd

dp_psd_state_t* dp_tonemeas_state_t::psd;

variable pwr

float* dp_tonemeas_state_t::pwr;

variable spur_guard_bins

size_t dp_tonemeas_state_t::spur_guard_bins;


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