TSpectrumAnalyzer.AmpltEst Method

Overload List

#SignatureDescription
1void AmpltEst(TVec srcFreq, TVec SrcSpectrum, TVec dstAmplt)Returns the phases of the amplitudes at Freq frequencies according to the value of the Peaks property.
2Double AmpltEst(Double Freq)Returns the amplitude of a peak nearest to the Freq frequency according to the value of the Peaks property.
3Double AmpltEst(Double Freq, TCplx SpcFreqBin)Returns the amplitude of a peak nearest to the Freq frequency according to the value of the Peaks property.
4void AmpltEst(TVec Freq, TVec dstAmplt)Returns the amplitudes of the frequency spectrum at Freq frequencies.

Overload 1: void AmpltEst(TVec srcFreq, TVec SrcSpectrum, TVec dstAmplt)

Returns the phases of the amplitudes at Freq frequencies according to the value of the Peaks property.

#NameTypeDescription
1srcFreqTVecsource TVec
2SrcSpectrumTVecsource TVec
3dstAmpltTVecsource TVec

Result: stored in self (calling object)

Remarks:

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

Overload 2: Double AmpltEst(Double Freq)

Returns the amplitude of a peak nearest to the Freq frequency according to the value of the Peaks property.

#NameTypeDescription
1FreqDoublescalar

Returns: Double

Remarks:

It takes in to account the scaling factors, spectrum type, Integration property and Logarithmic flag.

Overload 3: Double AmpltEst(Double Freq, TCplx SpcFreqBin)

Returns the amplitude of a peak nearest to the Freq frequency according to the value of the Peaks property.

#NameTypeDescription
1FreqDoublescalar
2SpcFreqBinTCplxscalar

Returns: Double

Remarks:

It takes in to account the scaling factors, spectrum type, Integration property and Logarithmic flag.

Overload 4: void AmpltEst(TVec Freq, TVec dstAmplt)

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