pysted.utils.get_avg_lightcurve
- pysted.utils.get_avg_lightcurve(light_curves)
This function takes as input a list of light curves and processes them so they are rescaled and shifted to align their peaks. It then return the avg light curve as well as its standard deviation, so we can sample a light curve for event simulation.
- Parameters:
light_curves – list of light curves of Ca2+ flash events
- Returns:
the avg light curve and std of the light curve