ft¶
-
libra_py.ft.
ft
(X, wspan, dw, dt)[source]¶ Discrete Fourier transform
We do have a number of FT and FFT functions in the Libra core, but this one may be also convenient to have
- Parameters
- Returns
(W, J): where
W ( list of npoints doubles): frequencies J ( list of npoints doubles): amplitudes of the cos-transform
- Return type
-
libra_py.ft.
ft2
(X, wmin, wmax, dw, dt)[source]¶ Discrete Fourier transform
We do have a number of FT and FFT functions in the Libra core, but this one may be also convenient to have
- Parameters
- Returns
(W, J): where
W ( list of npoints doubles): frequencies J ( list of npoints doubles): amplitudes of the complex-transform I ( list of npoints doubles): intensities
- Return type
-
libra_py.ft.
py_cft
(X, dt)[source]¶ Complex Discrete Fourier transform
We do have a number of FT and FFT functions in the Libra core, but this one may be also convenient to have
According to this definition: http://mathworld.wolfram.com/DiscreteFourierTransform.html
- Parameters
- Returns
(W, C, S): where
W ( list of npoints doubles): frequencies C ( list of npoints doubles): amplitudes of the cos-transform S ( list of npoints doubles): amplitudes of the sin-transform
- Return type