TStoredSpectrumAnalyzer.PhaseEst Method

Overload List

#SignatureDescription
1procedure PhaseEst(Freq: TVec; dstPhase: TVec);Returns the phases of the frequency spectrum at Freq frequencies.
2procedure PhaseEst(Freq: TVec; SrcSpectrum: TVec; dstPhase: TVec);Returns the phases of the frequency spectrum at Freq frequencies.
3function PhaseEst(Freq: Double): Double;Return phase at frequency Freq.
4function PhaseEst(Freq: Double; const SpcFreqBin: TCplx): Double;Returns the phases of the frequency Freq according to the value of the Peaks property.

Overload 1: procedure PhaseEst(Freq: TVec; dstPhase: TVec);

Returns the phases of the frequency spectrum at Freq frequencies.

#NameTypeDescription
1FreqTVecsource TVec
2dstPhaseTVecsource 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 PhaseEst(Freq: TVec; SrcSpectrum: TVec; dstPhase: TVec);

Returns the phases of the frequency spectrum at Freq frequencies.

#NameTypeDescription
1FreqTVecsource TVec
2SrcSpectrumTVecsource TVec
3dstPhaseTVecsource TVec

Result: stored in self (calling object)

Remarks:

SrcSpectrum must contain complex spectrum estimated at frequencies defined in Freq. DstPhase will hold the result. The phase is corrected for peak processing.

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

Return phase 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 PhaseEst(Freq: Double; const SpcFreqBin: TCplx): Double;

Returns the phases of the frequency Freq according to the value of the Peaks property.

#NameTypeDescription
1FreqDoublescalar
2SpcFreqBinTCplxscalar

Returns: Double

Remarks:

SpcFreqBin must contain complex spectrum bin estimated at Freq.