Skip to content

Struct tonemeas_state_t

ClassList > 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
psd_state_t * psd
float * pwr
size_t spur_guard_bins

Detailed Description

Allocate with tonemeas_create(). nfft = next_pow2(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 tonemeas_state_t::beta;

variable dc_guard

size_t tonemeas_state_t::dc_guard;

variable enbw

double tonemeas_state_t::enbw;

variable excl

unsigned char* tonemeas_state_t::excl;

variable fs

double tonemeas_state_t::fs;

variable lobe_bins

size_t tonemeas_state_t::lobe_bins;

variable n

size_t tonemeas_state_t::n;

variable n_harm

size_t tonemeas_state_t::n_harm;

variable nfft

size_t tonemeas_state_t::nfft;

variable psd

psd_state_t* tonemeas_state_t::psd;

variable pwr

float* tonemeas_state_t::pwr;

variable spur_guard_bins

size_t tonemeas_state_t::spur_guard_bins;


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