uvex_transients.phase_space.sampling.breakout.half_decline_time#
- uvex_transients.phase_space.sampling.breakout.half_decline_time(p: float, q: float, x_break: float, smoothness: float) tuple[float, float][source]#
Return the time of the peak and of the half-decline of the light curve, in units of its time scale \(t_0\).
The light curve is that of
InverseGammaBrokenPowerLawLightcurve. The half-decline is the time after the peak at which the luminosity has fallen to half of its maximum.- Parameters:
- Returns:
- Raises:
ValueError – If the light curve never falls to half of its peak.