uvex_transients.models.shock_cooling.piro.compute_photospheric_time_piro21#

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

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

Eq. 8 of Piro et al.[1],

\[t_\mathrm{ph} = \left[\frac{3\kappa K M_e}{2 (n - 1) v_t^2}\right]^{1/2} = \left(\frac{c}{2 v_t}\right)^{1/2} t_d.\]

The photospheric radius shows a break here.

Parameters:
  • 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:

\(t_\mathrm{ph}\) in s.

Return type:

Quantity

References