11.10.2. astroML.fourier.IFT_continuous¶
-
astroML.fourier.IFT_continuous(f, H, axis=- 1, method=1)[source]¶ Approximate a continuous 1D Inverse Fourier Transform with sampled data.
This function uses the Fast Fourier Transform to approximate the continuous fourier transform of a sampled function, using the convention
![H(f) = integral[ h(t) exp(-2 pi i f t) dt]
h(t) = integral[ H(f) exp(2 pi i f t) dt]](../../_images/math/eb09f9ece979e46a36c30aae41ef47084c9ce0ba.png)
It returns t and h, which approximate h(t).
- Parameters
- farray_like
regularly sampled array of times t is assumed to be regularly spaced, i.e. f = f0 + Df * np.arange(N)
- Harray_like
real or complex signal at each time
- axisint
axis along which to perform fourier transform. This axis must be the same length as t.
- Returns
- fndarray
frequencies of result. Units are the same as 1/t
- Hndarray
Fourier coefficients at each frequency.