samconnolly / DELightcurveSimulation

Emmanoulopoulos style lightcurve simulation
33 stars 19 forks source link

Power-law PSD #7

Open suvenduat opened 3 years ago

suvenduat commented 3 years ago

Hi,

I am using your code to simulate light curves using Emmanoulopoulos et al. (2013) method for a Power-law PSD with slope=1.5 and lognormal PDF. However, there seem to no parameters to control the mean and sd of the output light curves. Could you please let me know how to do that? Or I should manually control it.

Here is my code:

delc = Simulate_DE_Lightcurve(PL, (1.5,0, 10),\ st.lognorm,(0.3, 0.0, 7.4),\ tbin = 20, LClength = 1000, RedNoiseL=100, aliasTbin=100)

where my PL function in DELCgen.py looks like: def PL(v,a, loc=0, scale=1): return scipy.stats.powerlaw.pdf(v, a, loc=loc, scale=scale)

Thanks,