Struct 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).
variable bin_hz¶
FFT bin spacing = fs/nfft (Hz).
variable enbw_hz¶
Equivalent noise bandwidth (Hz) (= rbw_hz).
variable enob¶
ENOB = (SINAD - 1.76)/6.02.
variable enob_fs¶
Full-scale-corrected ENOB.
variable floor_uncert_db¶
Noise-floor standard error (dB).
variable fund_dbfs¶
Fundamental level (dBFS).
variable fund_freq¶
Fundamental frequency (Hz).
variable lobe_bins¶
Window main-lobe half-width L (bins).
variable n_noise_bins¶
Number of bins counted as noise.
variable noise_floor_dbfs¶
Mean per-bin noise power (dBFS).
variable proc_gain_db¶
FFT processing gain = 10log10(nfft/2) (dB).
variable rbw_hz¶
Resolution bandwidth = enbw*fs/n (Hz).
variable sfdr_dbc¶
SFDR: fundamental - worst spur (dBc).
variable sfdr_dbfs¶
SFDR: full scale - worst spur (dBFS).
variable sinad¶
SINAD = 10log10(fund/(noise+harm)) (dB).
variable snr¶
SNR = 10log10(P_fund / P_noise) (dB).
variable thd¶
THD = 10log10(P_harm / P_fund) (dBc).
variable thd_n¶
THD+N = 10log10((noise+harm)/fund) = -SINAD.
variable thd_pct¶
THD = 100 sqrt(P_harm / P_fund) (%).
variable worst_spur_dbc¶
Worst spur level vs the fundamental (dBc).
variable worst_spur_freq¶
Worst spur frequency (Hz).
variable worst_spur_is_harm¶
1 if the worst spur is a harmonic, else 0.
The documentation for this class was generated from the following file native/inc/measure/measure_core.h