TStoredSpectrumAnalyzer.FreqToFreqIndex Method

void FreqToFreqIndex(TVec Freq, TVecInt DstFreqIndex)

Computes range checked array indexes in the spectrum from frequency values.

#NameTypeDescription
1FreqTVecsource TVec
2DstFreqIndexTVecIntsource TVecInt

Result: stored in self (calling object)

Remarks:

The routine considers the value of the BandwidthL property, the HzRes and Bandwidth property. Any values outside of the valid range will be clipped to the edge of the valid range.