TCustomSpectrumAnalyzer.AmpltEst Method

Overload List

#SignatureDescription
1procedure AmpltEst(Freq: TVec; dstAmplt: TVec);Returns the amplitudes of the frequency spectrum at Freq frequencies.
2procedure AmpltEst(Freq: TVec; SrcSpectrum: TVec; dstAmplt: TVec);Returns the amplitudes of the amplitudes at Freq frequencies.
3function AmpltEst(Freq: Double): Double;Return amplitude at frequency Freq.
4function AmpltEst(Freq: Double; const SpcFreqBin: TCplx): Double;Returns the amplitude of the frequency Freq computed from SpcFreqBin.

Overload 1: procedure AmpltEst(Freq: TVec; dstAmplt: TVec);

Returns the amplitudes of the frequency spectrum at Freq frequencies.

#NameTypeDescription
1FreqTVecsource TVec
2dstAmpltTVecsource TVec

Result: stored in self (calling object)

Remarks:

Frequencies which are not accurately alligned with frequency bins of the spectrum are rounded to the closest frequency bin. The value of the Freq vector is preserved

Overload 2: procedure AmpltEst(Freq: TVec; SrcSpectrum: TVec; dstAmplt: TVec);

Returns the amplitudes of the amplitudes at Freq frequencies.

#NameTypeDescription
1FreqTVecsource TVec
2SrcSpectrumTVecsource TVec
3dstAmpltTVecsource TVec

Result: stored in self (calling object)

Remarks:

SrcSpectrum must contain complex spectrum estimated at frequencies defined in Freq.

Overload 3: function AmpltEst(Freq: Double): Double;

Return amplitude at frequency Freq.

#NameTypeDescription
1FreqDoublescalar

Returns: Double

Remarks:

Frequency which is not accurately alligned with the frequency bin of the spectrum is rounded to the closest frequency bin.

Overload 4: function AmpltEst(Freq: Double; const SpcFreqBin: TCplx): Double;

Returns the amplitude of the frequency Freq computed from SpcFreqBin.

#NameTypeDescription
1FreqDoublescalar
2SpcFreqBinTCplxscalar

Returns: Double

Remarks:

SpcFreqBin must contain complex spectrum bin estimated at Freq. The Freq parameter is needed only to apply differentiation/integration in derived classes.