3.9. fmas.config¶
Module containing helper routines, convenient abbreviations, and constants.
-
fmas.config.
C0
= 0.29979¶ Speed of light.
Units are [C0] = micron/fs.
- Type
float
-
fmas.config.
FT
(a, n=None, axis=- 1, norm=None)¶ Compute one-dimensional discrete Fourier Transform (DFT).
Note
Alias for numpy.fft.ifft.
See numpy.ifft for definition of DFT, its arguments and conventions.
See ifft for inverse of fft.
-
fmas.config.
FTFREQ
(n, d=1.0)¶ Discrete Fourier Transform sample frequencies.
Note
Alias for numpy.fft.fftfreq.
See numpy.fft.fftfreq for definition, arguments and conventions.
-
fmas.config.
FTSHIFT
(x, axes=None)¶ Shift order of frequencies.
Note
Alias for numpy.fft.fftshift.
See numpy.fft.fftshift for definition, arguments and conventions.
-
fmas.config.
IFT
(a, n=None, axis=- 1, norm=None)¶ Compute one-dimensional inverse discrete Fourier Transform (DFT).
Note
Alias for numpy.fft.fft.
See numpy.fft for definition of DFT, its arguments and conventions.
See FT for inverse of IFT.
-
fmas.config.
W_MAX_FAC
= 0.75¶ Angular frequency bound for dealiasing.
All angular frequency components satisfying abs(w) >= W_MAX_FAC*max(w) are discarded.
- Type
float