uvex_transients.phase_space.sampling.canonical.fred_time_scales#
- uvex_transients.phase_space.sampling.canonical.fred_time_scales(rise_ratio: float, fade_mag: float) tuple[float, float][source]#
Return the half-decline time and the fade time of a FRED light curve, in units of its decay time \(\tau_2\).
With \(\tau_1=r\tau_2\) and times in units of \(\tau_2\), the light curve is \(g(t)=\exp(2\sqrt r - r/t - t)\), with its peak, \(g=1\), at \(t=\sqrt r\).
- Parameters:
- Returns: