Institut für Astronomie und AstrophysikAbteilung AstronomieSand 1, D-72076 Tübingen, Germany |
lc_done
Simulate a light-curve with a power-law distributed periodogram
light curve simulation
lc_done,time,rate,nt=nt,beta=beta,sigma=sigma,mean=mea, $ seed=seed,dt=dt
-
nt: Number of bins of the simulated lightcurve (default:65536) beta: Power law index of the periodogram (default: 1.5) mean: Mean count rate of the simulated lightcurve (default: 0.) sigma: Standard deviation of the lightcurve to be simulated (default:1.) seed: Seed for the random number generator (returned if not defined -- see IDL help for randomu function) fact: Factor introduced by Merrifield & McHardy 1994, MNRS 271, 899 for the Fourier freq. array dimension to explore the effects of the low-freq. component in the PSD. They used fact = 10. If not set, then fact = 1. dt: time resolution of the lightcurve
time: Time array (trivial :-) ) rate: Array of countrates of length nt
seed: see above
Version 1.0, 2002/01/10, Sara Benlloch, IAAT
[Home Page] [Software, Documentation] [IDL Documentation] [Quick Reference] [Feedback]