TCrossSpectrumAnalyzer.PhaseEst Method

Overload List

#SignatureDescription
1Double PhaseEst(Double Freq)Returns the phase of the frequency spectrum at Freq frequency according to the parameters of the Peaks property.
2Double PhaseEst(Double Freq, TCplx SpcFreqBin)Returns the phase of the frequency spectrum at Freq frequency according to the parameters of the Peaks property.
3void PhaseEst(TVec Freq, TVec dstPhase)Returns the phases of the frequency spectrum at Freq frequencies.
4void PhaseEst(TVec Freq, TVec SrcSpectrum, TVec dstPhase)Returns the phases of the frequency spectrum at Freq frequencies.

Overload 1: Double PhaseEst(Double Freq)

Returns the phase of the frequency spectrum at Freq frequency according to the parameters of the Peaks property.

#NameTypeDescription
1FreqDoublescalar

Returns: Double

Overload 2: Double PhaseEst(Double Freq, TCplx SpcFreqBin)

Returns the phase of the frequency spectrum at Freq frequency according to the parameters of the Peaks property.

#NameTypeDescription
1FreqDoublescalar
2SpcFreqBinTCplxscalar

Returns: Double

Overload 3: void PhaseEst(TVec Freq, TVec dstPhase)

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 4: void PhaseEst(TVec Freq, TVec SrcSpectrum, TVec dstPhase)

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.