Synthetic light curves

class maelstrom.synthetic.SyntheticBinary(time, freq, amplitude, period, eccen, asini, varpi, tref, tau=True)[source]

This class generates a synthetic light curve and injects a time delay signal corresponding to the input binary orbit parameters. Note that the input parameters do NOT need to be PyMC3 tensors, unlike the Orbit module.

Parameters
  • time (array) – time-stamps

  • freq (array) – oscillation modes of the light curve

  • amplitude (array) – amplitudes corresponding to each freq

  • period (float) – Orbital period in days

  • eccen (float) – Orbital eccentricity, must be between 0 and 1

  • asini (float) – The projected semi-major axis of the orbit in seconds.

  • varpi (float) – Angle between the ascending node and periapsis

  • tref (float) – Reference time of periapsis

  • tau (bool, optional) – Whether to inject binary motion or not. Defaults to True.

add_noise(snr=5)[source]

Sets the SNR of the oscillation signal.

Parameters

snr (float, optional) – SNR. Defaults to 5.

make_lightcurve(tau=True)[source]

Generates the light curve with added binarity.

Parameters

tau (bool, optional) – Whether to include binarity. Defaults to True.