TSpectrogram::NF Method

double NF(double ActualZeroPadding = 1);

Noise floor in dB: the mean absolute noise line (lines outside the mark guard bands), relative to the largest marked peak.

#NameTypeDescription
1ActualZeroPadding = 1doubleZero-padding factor; widens the guard bands and normalises the line count. Default 1.

Returns: Average noise floor in dB relative to the largest peak.

Remarks:

With {N_j} the L noise lines outside every mark guard band of width MainlobeWidth*ActualZeroPadding, and A_(max) the largest mark, NF = 20 log_(10)( (sum_(j=1)^L | N_j |)/(L Z A_(max)) ) [dB], where Z = ActualZeroPadding. The marked tones are excluded from the average. Domain: single-sided amplitude spectrum with Marks. Returns 0 when Marks.Count is 0 or on internal error.

See Also: TSpectrogram::SNR
Declared in Dew::Signal::TSpectrum · Dew.Signal/SignalTools.h · Cross-compiler