KhatamiSBOLightcurve#
- class uvex_transients.models.lightcurves.generic.KhatamiSBOLightcurve(**overrides: Parameter | Quantity | float | int)[source]#
A shock-breakout light curve family set by its peak luminosity and luminosity-weighted duration.
The light curve has the functional form of
SBOPhenomenologicalLightcurve,\[L(t) = \exp\left[-\left(\frac{t_r}{t}\right)^{n}\right] \left\{ \left[1 + \left(\frac{t}{t_p}\right)^{s}\right]^{-\beta/s} + \frac{L_b}{L_p} \exp\left[-\frac{\ln^2(t/t_b)}{2\sigma^2}\right] \right\},\]but rather than being free, its shape is a one-parameter family. The exponent \(n\), break time \(t_p\), smoothness \(s\) and bump width \(\sigma\) are fixed for every member, and the other four shape parameters \((\log_{10} L_b/L_p,\ t_b,\ t_r,\ \beta)\) are linearly interpolated between two calibrated endpoints by a shape variable \(q \in [0, 1]\). The light curve is then normalized so that its maximum is \(L_\mathrm{pk}\) (to about one part in \(10^{5}\)).
The shape variable is not a parameter of the model. It is set by the luminosity-weighted duration
\[\bar{t} = \frac{\int t\, L\, \mathrm{d}t}{\int L\, \mathrm{d}t},\]taken over 0.02 to 4.4 days, which increases monotonically with \(q\), so that \(\bar{t}\) and \(q\) are in one-to-one correspondence. This correspondence is tabulated once, at import, in the class attributes
_Q_GRID,_T_BAR_GRIDand_LOG_PEAK_GRID, and then interpolated. \(\bar{t}\) ranges from about 1.5 days (\(q = 0\), dominated by the main peak) to about 2.3 days (\(q = 1\), dominated by the bump);t_baroutside of this range is clamped to the nearest end of it.The endpoints were calibrated by eye-digitizing curves, so the family should be recalibrated against real simulation output before it is relied on quantitatively.
Parameters
The light curve parameters are summarized below.
Parameter
Symbol
Description
peak_luminosity\(L_\mathrm{pk}\)
Peak bolometric luminosity.
t_bar\(\bar{t}\)
Luminosity-weighted duration, which sets the shape of the light curve.
See also
SBOPhenomenologicalLightcurveThe unconstrained nine-parameter form this family is a slice of.
Methods
eval(t, **parameters)Evaluate the bolometric luminosity at the given time.
eval_cgs(t, **parameters)Bolometric luminosity, taking and returning plain cgs numbers.
eval_from_arrays(t, *parameters)Positional-argument form of
eval().eval_log(t, **parameters)Natural log of the bolometric luminosity, given physical-unit inputs.
eval_log_cgs(t, **parameters)Natural log of the bolometric luminosity, taking and returning plain cgs numbers.
get(k[,d])items()keys()pack_params_to_arrays(**parameters)Convert a dict of parameter values into an ordered sequence.
sample_parameters([size, rng, parameters])Draw random samples of some or all of this model's parameters.
simulate(t[, size, rng])Draw random parameter realizations and evaluate the model at the given time.
unpack_params_from_arrays(*parameters)Convert an ordered sequence of parameter values back into a dict.
values()