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

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/a/s/astroML-0.2/book_figures/chapter10/fig_autocorrelation.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.time_series import lomb_scargle, generate_damped_RW
from astroML.time_series import ACF_scargle, ACF_EK
 
 
np.random.seed(6)
y = generate_damped_RW(t, tau=tau, z=z, xmean=20)
 
# randomly sample 100 of these

src/a/s/astroML-HEAD/book_figures/chapter10/fig_autocorrelation.py   astroML(Download)
from matplotlib import pyplot as plt
 
from astroML.time_series import lomb_scargle, generate_damped_RW
from astroML.time_series import ACF_scargle, ACF_EK
 
 
np.random.seed(6)
y = generate_damped_RW(t, tau=tau, z=z, xmean=20)
 
# randomly sample 100 of these