RealFFTResultWrapperDivideSpectra Method |
Divides two spectra that where created as the result of two real fourier transformations.
Namespace: Altaxo.Calc.FourierAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static void DivideSpectra(
double[] nominator,
double[] denominator,
double[] result
)
Parameters
- nominator Double
- The spectrum acting as nominator of the division.
- denominator Double
- The denominator spectrum.
- result Double
- The resulting divided spectrum. See remarks on how the data are organized in the array.
Remarks
The data in the nominator and denominator spectral array and in the resulting array are organized as follows.
a[0] is the real part of f=0 (for f=0 the imaginary part is always zero)
a[i] and a[length-i] are the real and imaginary part of the spectrum at frequency i, respectively.
If the length of a is even, then a[length/2] is the real part of the frequency length/2 (the imaginary part at this frequency is always zero).
See Also