uvex_transients.models.shock_cooling.piro.compute_photospheric_radius_piro21#

uvex_transients.models.shock_cooling.piro.compute_photospheric_radius_piro21(t: PhysicalInput, E_envelope: PhysicalInput, M_envelope: PhysicalInput, kappa: PhysicalInput, n: NumericalInput = 10.0, delta: NumericalInput = 1.1) → Quantity[source]#

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

Eqs. 7 and 9 of Piro et al.[1],

\[\begin{split}r_\mathrm{ph}(t) = v_t t \begin{cases} (t_\mathrm{ph} / t)^{2/(n - 1)} & t \le t_\mathrm{ph} \\ \left[\frac{\delta - 1}{n - 1}\left(t^2 / t_\mathrm{ph}^2 - 1\right) + 1\right]^{-1/(\delta - 1)} & t \ge t_\mathrm{ph}. \end{cases}\end{split}\]

Unlike the luminosity, this does not depend on the initial radius \(R_e\). Since \(\delta\) is close to 1, the late-time branch is very sensitive to \(\delta\), which the paper cautions is hard to predict without simulations.

Parameters:
  • t (Quantity or array_like) – Times since explosion (floats are taken to be in s). Must be positive.

  • E_envelope (Quantity or array_like) – Energy \(E_e\) imparted to the envelope (floats are taken to be in erg).

  • M_envelope (Quantity or array_like) – Envelope mass \(M_e\) (floats are taken to be in g).

  • kappa (Quantity or array_like) – Constant opacity (floats are taken to be in cm^2/g).

  • n (array_like, optional) – Density power-law indices; see compute_ejecta_normalization_piro21().

  • delta (array_like, optional) – Density power-law indices; see compute_ejecta_normalization_piro21().

Returns:

Photospheric radius in cm, broadcast as in compute_luminosity_piro21().

Return type:

Quantity

Raises:

ValueError – If t or a physical parameter is non-finite or not positive, if n <= 5, or if delta is outside (1, 3).

References