uvex_transients.models.shock_cooling.piro#

Analytic shock cooling emission from extended, low-mass envelopes (Piro+21).

Implements the model of Piro et al.[1]. A low-mass envelope (mass \(M_e\), initial radius \(R_e\)) is given an energy \(E_e\) by a passing shock and then expands homologously with a broken power law density profile (outer index \(n\), inner index \(\delta\)) and a constant electron scattering opacity \(\kappa\). The result is a closed-form bolometric luminosity, photospheric radius, and blackbody temperature as functions of time. It describes the first days to weeks of emission from explosions with extended material, such as Type IIb supernovae, and is valid for \(n > 5\) and \(1 < \delta < 3\). It neglects recombination and interior heating, so the early power-law scalings are the most robust predictions. Equation numbers in this module refer to Piro+21.

Private functions work on bare CGS floats and arrays. The public compute_*_piro21 functions accept Quantity inputs (bare numbers are assumed to be CGS), validate them, and return Quantity outputs. PiroShockCoolingSED turns the luminosity and temperature into a blackbody SpectralModel.

References

Attributes

DEFAULT_N

Typical outer density power-law index (Chevalier & Soker 1989; see Appendix A of Piro+21).

DEFAULT_DELTA

Typical inner density power-law index (Chevalier & Soker 1989).

Functions

compute_diffusion_time_piro21(E_envelope, ...)

Diffusion time \(t_d\), when the diffusion depth reaches the transition velocity.

compute_ejecta_normalization_piro21([n, delta])

Density normalization \(K\) of the two-component envelope.

compute_luminosity_piro21(t, E_envelope, ...)

Bolometric shock cooling luminosity \(L(t)\).

compute_photospheric_radius_piro21(t, ...[, ...])

Photospheric radius \(r_\mathrm{ph}(t)\), where the optical depth is 2/3.

compute_photospheric_time_piro21(E_envelope, ...)

Photospheric time \(t_\mathrm{ph}\), when the photosphere reaches the transition velocity.

compute_temperature_piro21(t, E_envelope, ...)

Blackbody temperature \(T(t)\) of the photosphere.

compute_transition_velocity_piro21(...[, n, ...])

Transition velocity \(v_t\) between the outer and inner envelope.

Classes

PiroShockCoolingSED(**overrides)

Blackbody shock cooling SED from an extended, low-mass envelope.