LLGRBSED#

class uvex_transients.models.supernovae.llgrb.LLGRBSED(**overrides: Parameter | Quantity | float | int)[source]#

Low-luminosity GRB SED: an early thermal excess plus a radioactively powered Ic-BL supernova.

The emission is the sum of two blackbody components, each a unit-integral blackbody shape (BlackbodySpectrum) scaled by its own bolometric light curve,

\[L_\nu(\nu, t) = L_\mathrm{SN}(t)\,S_\mathrm{BB}\!\left[\nu, T_\mathrm{SN}(t)\right] + L_\mathrm{bump}(t)\,S_\mathrm{BB}\!\left[\nu, T_\mathrm{bump}(t)\right],\]

so that \(L_\mathrm{bol}(t) = L_\mathrm{SN}(t) + L_\mathrm{bump}(t)\) exactly.

Supernova

\(L_\mathrm{SN}\) is the Arnett diffusion light curve of ArnettDecaySED, powered by \(^{56}\mathrm{Ni}\) decay, with its floored photospheric temperature \(T_\mathrm{SN}(t)\) and a plain blackbody (no line blanketing). It produces the late bump, which peaks at roughly \(10\) d.

Early excess

\(L_\mathrm{bump}\) is a BazinLightcurve,

\[L_\mathrm{bump}(t) = A\,\frac{e^{-(t-t_0)/\tau_\mathrm{fall}}}{1 + e^{-(t-t_0)/\tau_\mathrm{rise}}},\]

with a power-law photospheric temperature,

\[T_\mathrm{bump}(t) = T_1\left(\frac{t}{1\,\mathrm{d}}\right)^{-\alpha_T},\]

which is held at its \(0.01\) d value at earlier times and has no floor. The excess is attributed to shock breakout and cooling of material around the progenitor.

The Bazin maximum is at \(t_0 - \tau_\mathrm{rise}\ln[\tau_\mathrm{rise}/(\tau_\mathrm{fall} - \tau_\mathrm{rise})]\), which is before the burst for the default priors. The excess is then already declining at \(t=0\), where \(L_\mathrm{bump}\sim8\times10^{43}\) erg/s, and the rise of the UV light curves over the first \(\sim0.5\) d comes from the photosphere cooling, not from the bolometric luminosity.

Parameters

The first six parameters are those of ArnettDecaySED, with the priors that TypeIcBLSED had before it was tuned to the ZTF CLU sample: the sample statistics of the explosion-property table of Srinivasaragavan et al. 2024 (M_Ni, M_ej and v_ej), kappa as for Type Ia, full gamma-ray trapping and the same T_floor. They are held here and no longer follow that class. The last six describe the early excess.

Parameter

Symbol

Description

M_Ni

\(M_\mathrm{Ni}\)

Nickel-56 mass synthesized in the explosion.

M_ej

\(M_\mathrm{ej}\)

Ejecta mass.

v_ej

\(v_\mathrm{ej}\)

Ejecta velocity, taken to be constant and equal to the photospheric velocity.

kappa

\(\kappa\)

Grey optical opacity.

kappa_gamma

\(\kappa_\gamma\)

Opacity to high-energy photons.

T_floor

\(T_\mathrm{floor}\)

Minimum photospheric temperature of the supernova.

A_bump

\(A\)

Bazin normalization of the early excess.

t0_bump

\(t_0\)

Bazin transition time of the early excess.

tau_rise

\(\tau_\mathrm{rise}\)

Bazin rise timescale of the early excess.

tau_fall

\(\tau_\mathrm{fall}\)

Bazin decline timescale of the early excess.

T_bump

\(T_1\)

Photospheric temperature of the early excess at 1 d.

alpha_T

\(\alpha_T\)

Cooling power-law index of the early excess.

See also

uvex_transients.models.arnett.ArnettDecaySED

The supernova component on its own.

uvex_transients.models.supernovae.IcBL.TypeIcBLSED

The Ic-BL population this model’s supernova priors came from.

uvex_transients.models.lightcurves.generic.BazinLightcurve

The early-excess light curve.

Examples

>>> import numpy as np
>>> from astropy import units as u
>>> from uvex_transients.models import LLGRBSED
>>> sed = LLGRBSED()
>>> params = sed.sample_parameters(
...     size=1, rng=np.random.default_rng(0)
... )
>>> t = np.array([0.1, 1.0, 10.0]) * u.day
>>> sed.eval_bolometric(t, **params)

Methods

as_astropy_model([x_type, y_type, y_kind, ...])

Build an Model of this SpectralModel for a given parameter set.

as_source_spectrum(t, *[, redshift, ...])

Build a SourceSpectrum giving the observed flux at one fixed time \(t\).

decline_time(bandpass, t[, fraction])

Measure the time the rest-frame band luminosity takes to fall from its peak to a fraction of it.

eval(nu, t, **parameters)

Evaluate the spectral luminosity at the given frequency and time.

eval_band_luminosity(bandpass, t, **parameters)

Evaluate the rest-frame luminosity in a band, for draws of the parameters, on a grid of times.

eval_bolometric(t, **parameters)

Evaluate the bolometric luminosity at the given time.

eval_bolometric_cgs(t, **parameters)

Bolometric luminosity, taking and returning plain cgs numbers.

eval_bolometric_log(t, **parameters)

Natural log of the bolometric luminosity, given physical-unit inputs.

eval_bolometric_log_cgs(t, **parameters)

Natural log of the bolometric luminosity, taking and returning plain cgs numbers.

eval_cgs(nu, t, **parameters)

Spectral luminosity, taking and returning plain cgs numbers.

eval_from_arrays(nu, t, *parameters)

Positional-argument form of eval().

eval_log(nu, t, **parameters)

Natural log of the spectral luminosity, given physical-unit inputs.

eval_log_cgs(nu, t, **parameters)

Natural log of the spectral luminosity, taking and returning plain cgs numbers.

eval_spectrum(nu, t, **parameters)

Evaluate the normalized spectral shape at the given frequency and time.

eval_spectrum_cgs(nu, t, **parameters)

Return the normalized spectral shape as plain cgs numbers; see eval_log_cgs().

eval_spectrum_log(nu, t, **parameters)

Natural log of the normalized spectral shape, given physical-unit inputs.

eval_spectrum_log_cgs(nu, t, **parameters)

Natural log of the normalized spectral shape, taking and returning plain cgs numbers.

flux(nu, t, *[, redshift, ...])

Evaluate the observed flux density at the given frequency and time.

flux_band(nu, throughput, t, *[, redshift, ...])

Evaluate the photon-weighted mean observed flux density over a band.

flux_band_cgs(nu, throughput, t, redshift, ...)

Band-averaged observed flux density as plain cgs numbers; see flux_band_log_cgs().

flux_band_log(nu, throughput, t, *[, ...])

Natural log of the band-averaged observed flux density, given physical-unit inputs.

flux_band_log_cgs(nu, throughput, t, ...[, ...])

Natural log of the photon-weighted mean flux density over a band, plain cgs numbers.

flux_bolometric(t, *[, redshift, ...])

Evaluate the observed bolometric flux at the given time.

flux_bolometric_cgs(t, redshift, ...)

Observed bolometric flux, taking and returning plain cgs numbers.

flux_bolometric_log(t, *[, redshift, ...])

Natural log of the observed bolometric flux, given physical-unit inputs.

flux_bolometric_log_cgs(t, redshift, ...)

Natural log of the observed bolometric flux, taking and returning plain cgs numbers.

flux_cgs(nu, t, redshift, luminosity_distance, *)

Observed flux density, taking and returning plain cgs numbers.

flux_log(nu, t, *[, redshift, ...])

Natural log of the observed flux density, given physical-unit inputs.

flux_log_cgs(nu, t, redshift, ...[, ...])

Natural log of the observed flux density, taking and returning plain cgs numbers.

get(k[,d])

get_effective_peak_magnitudes(z_grid, ...[, ...])

Evaluate a sampled population's effective peak magnitude at every redshift of a grid.

get_observability_curve(mag_limits, *[, ...])

Bound the redshift beyond which a population is undetectable, for each magnitude limit.

items()

keys()

mag(nu, t, *[, redshift, ...])

Evaluate the apparent AB magnitude at the given frequency and time.

mag_band(nu, throughput, t, *[, redshift, ...])

Evaluate the apparent AB magnitude of the band-averaged flux density.

mag_band_cgs(nu, throughput, t, redshift, ...)

Apparent AB magnitude of the band-averaged flux density.

mag_bandpass(bandpass, t, *[, redshift, ...])

Evaluate the apparent AB magnitude of the flux averaged over bandpass.

mag_cgs(nu, t, redshift, luminosity_distance, *)

Apparent AB magnitude: \(m_\mathrm{AB} = -2.5 \log_{10}(F_\nu / F_{\mathrm{AB},0})\).

measure_photometry(t, exptime, detector, ...)

Measure this model with a real detector at given times: one noisy measurement per epoch and band.

pack_params_to_arrays(**parameters)

Convert a dict of parameter values into an ordered sequence.

peak_luminosity(bandpass, t, **parameters)

Measure the peak of the rest-frame band luminosity, for draws of the parameters.

sample_parameters([size, rng, parameters])

Draw random samples of some or all of this model's parameters.

sample_peak_luminosities(bandpass, n, *[, ...])

Draw the parameters of n events from their priors and measure the peak band luminosity of each.

simulate(nu, t[, size, rng])

Draw random parameter realizations and evaluate the model at the given frequency and time.

simulate_photometry(t, exptime, detector, ...)

Simulate noisy synthetic photometry of this model at given times, against a real detector.

temperature(t, **parameters)

Return \(T_\mathrm{SN}(t)\) and \(T_\mathrm{bump}(t)\), the temperature of each component.

unpack_params_from_arrays(*parameters)

Convert an ordered sequence of parameter values back into a dict.

values()