Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(14)  |  Call(6)  |  Derive(0)  |  Import(8)

src/a/s/astroML-0.2/book_figures/appendix/fig_fft_text_example.py   astroML(Download)
from scipy import fftpack
 
from astroML.fourier import FT_continuous, sinegauss, sinegauss_FT
 
#----------------------------------------------------------------------
Dt = 0.01
t = t0 + Dt * (np.arange(N) - N / 2)
h = sinegauss(t, t0, f0, Q)
 
#------------------------------------------------------------

src/a/s/astroML-HEAD/book_figures/appendix/fig_fft_text_example.py   astroML(Download)
from scipy import fftpack
 
from astroML.fourier import FT_continuous, sinegauss, sinegauss_FT
 
#----------------------------------------------------------------------
Dt = 0.01
t = t0 + Dt * (np.arange(N) - N / 2)
h = sinegauss(t, t0, f0, Q)
 
#------------------------------------------------------------

src/a/s/astroML-0.2/book_figures/chapter10/fig_wavelet_PSD.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.fourier import\
    FT_continuous, IFT_continuous, sinegauss, sinegauss_FT, wavelet_PSD
 
#------------------------------------------------------------
# Compute an example wavelet
W = sinegauss(t, 0, 1.5, Q=1.0)
 
#------------------------------------------------------------

src/a/s/astroML-HEAD/book_figures/chapter10/fig_wavelet_PSD.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.fourier import\
    FT_continuous, IFT_continuous, sinegauss, sinegauss_FT, wavelet_PSD
 
#------------------------------------------------------------
# Compute an example wavelet
W = sinegauss(t, 0, 1.5, Q=1.0)
 
#------------------------------------------------------------

src/a/s/astroML-0.2/book_figures/chapter10/fig_wavelets.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.fourier import FT_continuous, IFT_continuous, sinegauss
 
#----------------------------------------------------------------------
 
# compute wavelets all at once
W = sinegauss(t, t0, f0[:, None], Q[:, None])
 
#------------------------------------------------------------

src/a/s/astroML-HEAD/book_figures/chapter10/fig_wavelets.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.fourier import FT_continuous, IFT_continuous, sinegauss
 
#----------------------------------------------------------------------
 
# compute wavelets all at once
W = sinegauss(t, t0, f0[:, None], Q[:, None])
 
#------------------------------------------------------------

src/a/s/astroML-HEAD/astroML/tests/test_fourier.py   astroML(Download)
import numpy as np
from numpy.testing import assert_allclose
from astroML.fourier import\
    FT_continuous, IFT_continuous, PSD_continuous, sinegauss, sinegauss_FT
 

src/a/s/astroML-0.2/astroML/tests/test_fourier.py   astroML(Download)
import numpy as np
from numpy.testing import assert_allclose
from astroML.fourier import\
    FT_continuous, IFT_continuous, PSD_continuous, sinegauss, sinegauss_FT