pysted.utils.flash_generator

pysted.utils.flash_generator(events_curves_path, seed=None)

Generates a flash by sampling from statistics built from save light curves

Parameters:
  • events_curves_path – Path to the .npy file containing the light curves

  • seed – Sets the seed for random sampling :)

Returns:

A sampled light curve