generate_solar_fluxes

gadfly.generate_solar_fluxes(duration, cadence=<Quantity 60. s>, seed=None)[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

  • seed (float, optional) – Random seed.

Returns

  • times (astropy.units.Quantity) – Array of times at cadence cadence of length duration/cadence

  • fluxes (numpy.ndarray) – Array of fluxes at cadence cadence of length duration/cadence

  • kernel (celerite2.terms.TermSum) – Celerite kernel used to approximate the solar power spectrum.