Skip to content

Struct tone_meas_t

ClassList > tone_meas_t

Single-tone dynamic-measurement bag. More...

  • #include <measure_core.h>

Public Attributes

Type Name
double amp_uncert_db
Amplitude-read uncertainty bound (dB).
double bin_hz
FFT bin spacing = fs/nfft (Hz).
double enbw_hz
Equivalent noise bandwidth (Hz) (= rbw_hz).
double enob
ENOB = (SINAD - 1.76)/6.02.
double enob_fs
Full-scale-corrected ENOB.
double floor_uncert_db
Noise-floor standard error (dB).
double fund_dbfs
Fundamental level (dBFS).
double fund_freq
Fundamental frequency (Hz).
size_t lobe_bins
Window main-lobe half-width L (bins).
size_t n_noise_bins
Number of bins counted as noise.
double noise_floor_dbfs
Mean per-bin noise power (dBFS).
double proc_gain_db
FFT processing gain = 10log10(nfft/2) (dB).
double rbw_hz
Resolution bandwidth = enbw*fs/n (Hz).
double sfdr_dbc
SFDR: fundamental - worst spur (dBc).
double sfdr_dbfs
SFDR: full scale - worst spur (dBFS).
double sinad
SINAD = 10log10(fund/(noise+harm)) (dB).
double snr
SNR = 10log10(P_fund / P_noise) (dB).
double thd
THD = 10log10(P_harm / P_fund) (dBc).
double thd_n
THD+N = 10log10((noise+harm)/fund) = -SINAD.
double thd_pct
THD = 100 sqrt(P_harm / P_fund) (%).
double worst_spur_dbc
Worst spur level vs the fundamental (dBc).
double worst_spur_freq
Worst spur frequency (Hz).
int worst_spur_is_harm
1 if the worst spur is a harmonic, else 0.

Detailed Description

All ratios (SNR/SINAD/THD/THD+N) are dimensionless dB and independent of the dBFS reference; the absolute *_dbfs levels reference a full-scale tone to 0 dBFS (real captures: a peak-full_scale sine; complex: a full_scale exponential). Accuracy fields describe the analysis grid that produced them.

Public Attributes Documentation

variable amp_uncert_db

Amplitude-read uncertainty bound (dB).

double tone_meas_t::amp_uncert_db;


variable bin_hz

FFT bin spacing = fs/nfft (Hz).

double tone_meas_t::bin_hz;


variable enbw_hz

Equivalent noise bandwidth (Hz) (= rbw_hz).

double tone_meas_t::enbw_hz;


variable enob

ENOB = (SINAD - 1.76)/6.02.

double tone_meas_t::enob;


variable enob_fs

Full-scale-corrected ENOB.

double tone_meas_t::enob_fs;


variable floor_uncert_db

Noise-floor standard error (dB).

double tone_meas_t::floor_uncert_db;


variable fund_dbfs

Fundamental level (dBFS).

double tone_meas_t::fund_dbfs;


variable fund_freq

Fundamental frequency (Hz).

double tone_meas_t::fund_freq;


variable lobe_bins

Window main-lobe half-width L (bins).

size_t tone_meas_t::lobe_bins;


variable n_noise_bins

Number of bins counted as noise.

size_t tone_meas_t::n_noise_bins;


variable noise_floor_dbfs

Mean per-bin noise power (dBFS).

double tone_meas_t::noise_floor_dbfs;


variable proc_gain_db

FFT processing gain = 10log10(nfft/2) (dB).

double tone_meas_t::proc_gain_db;


variable rbw_hz

Resolution bandwidth = enbw*fs/n (Hz).

double tone_meas_t::rbw_hz;


variable sfdr_dbc

SFDR: fundamental - worst spur (dBc).

double tone_meas_t::sfdr_dbc;


variable sfdr_dbfs

SFDR: full scale - worst spur (dBFS).

double tone_meas_t::sfdr_dbfs;


variable sinad

SINAD = 10log10(fund/(noise+harm)) (dB).

double tone_meas_t::sinad;


variable snr

SNR = 10log10(P_fund / P_noise) (dB).

double tone_meas_t::snr;


variable thd

THD = 10log10(P_harm / P_fund) (dBc).

double tone_meas_t::thd;


variable thd_n

THD+N = 10log10((noise+harm)/fund) = -SINAD.

double tone_meas_t::thd_n;


variable thd_pct

THD = 100 sqrt(P_harm / P_fund) (%).

double tone_meas_t::thd_pct;


variable worst_spur_dbc

Worst spur level vs the fundamental (dBc).

double tone_meas_t::worst_spur_dbc;


variable worst_spur_freq

Worst spur frequency (Hz).

double tone_meas_t::worst_spur_freq;


variable worst_spur_is_harm

1 if the worst spur is a harmonic, else 0.

int tone_meas_t::worst_spur_is_harm;



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