pysted.utils.hand_crafted_light_curve

pysted.utils.hand_crafted_light_curve(delay=2, n_decay_steps=10, n_molecules_multiplier=28, end_pad=0)

Hand crafted light curve that has a more abrupt rise than sampling a light curve from real data.

Parameters:
  • delay – The number of steps before the peak of the light curve.

  • n_decay_steps – The number of steps for the light curve to return to 1

  • n_molecules_multiplier – The value of the light curve at it’s peak

  • end_pad – The number of steps where the curve stays flat at 1 after the end of the exponential decay.

Returns:

The hand crafted light curve, which is flat at 1 until t = delay, where it peaks to n_molecs_multiplier, then decays back to 1 over t = n_decay_steps steps, and stays flat at 1 for end_pad + 1 steps