DewDSPMasterNET
TSpectrum.THDN Method

Class
TSpectrum

Declaration
Function THDN(ActualZeroPadding: TSample = 1): TSample;

Description
The total-harmonic-distortion-and-noise computes the sum of sqares of the rest towards the maximum marked peak. All other marked peaks are considered to be noise. Marked peaks are stored in the Marks property. The width of the peaks is determined with the MainlobeWidth property.

Copyright 2008 Dew Research
http://www.dewresearch.com