FourierFrequencyScale Method |
Generate the frequencies corresponding to each index in frequency space.
The frequency space has a resolution of sampleRate/N.
Index 0 corresponds to the DC part, the following indices correspond to
the positive frequencies up to the Nyquist frequency (sampleRate/2),
followed by the negative frequencies wrapped around.
Namespace: Altaxo.Calc.IntegralTransformsAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static double[] FrequencyScale(
int length,
double sampleRate
)
Parameters
- length Int32
- Number of samples.
- sampleRate Double
- The sampling rate of the time-space data.
Return Value
DoubleThe frequency corresponding to each Fourier index.
See Also