- gadfly.generate_stellar_fluxes(duration, M, T_eff, R, L, cadence=<Quantity 60. s>, frequencies=None, amplitudes=None, mode_lifetimes=None, seed=None)¶
Generate an array of fluxes with zero mean which mimic the power spectrum of the SOHO/VIRGO SPM observations, scaled for a star with a given mass, effective temperature, luminosity and radius.
duration (Quantity) – Duration of simulated observations to generate.
M (Quantity) – Stellar mass
T_eff (Quantity) – Stellar effective temperature
R (Quantity) – Stellar radius
L (Quantity) – Stellar luminosity
cadence (Quantity) – Length of time between fluxes
seed (float, optional) – Random seed.
times (astropy.units.Quantity) – Array of times at cadence
fluxes (numpy.ndarray) – Array of fluxes at cadence
kernel (celerite2.terms.TermSum) – Celerite kernel used to approximate the stellar power spectrum