generate_solar_fluxes

shocksgo.generate_solar_fluxes(duration, cadence=<Quantity 60. s>)[source]

Generate an array of fluxes with zero mean which mimic the power spectrum of the SOHO/VIRGO SPM observations.

Parameters:
duration : Quantity

Duration of simulated observations to generate.

cadence : Quantity

Length of time between fluxes

Returns:
times : Quantity

Array of times at cadence cadence of length duration/cadence

fluxes : ndarray

Array of fluxes at cadence cadence of length duration/cadence

kernel : TermSum

Celerite kernel used to approximate the solar power spectrum.