redback.transient_models.phenomenological_models.smooth_evolving_blackbody

redback.transient_models.phenomenological_models.smooth_evolving_blackbody(time, redshift, temp_peak, log10_radius_peak, temp_peak_time, radius_peak_time, temp_index, radius_index, **kwargs)[source]

Blackbody with smooth, analytic temperature and radius evolution.

Both T(t) and R(t) follow a gamma-distribution-shaped profile that peaks exactly at their respective peak times with no discontinuity in the derivative (unlike the piecewise power-law in evolving_blackbody):

T(t) = T_peak * (t/t_T_peak)^alpha_T * exp(alpha_T * (1 - t/t_T_peak)) R(t) = R_peak * (t/t_R_peak)^alpha_R * exp(alpha_R * (1 - t/t_R_peak))

T and R are allowed to peak at independent times, so the implied bolometric luminosity L ∝ R² T⁴ can have a more complex (but still smooth) shape.

Parameters:
  • time – time in observer frame in days

  • redshift – source redshift

  • temp_peak – peak blackbody temperature in Kelvin

  • log10_radius_peak – log10 of peak photospheric radius in cm

  • temp_peak_time – observer-frame time of temperature peak in days

  • radius_peak_time – observer-frame time of radius peak in days

  • temp_index – shape index alpha_T > 0; larger = sharper T peak

  • radius_index – shape index alpha_R > 0; larger = sharper R peak

  • kwargs – Additional parameters

  • frequency – Required if output_format is ‘flux_density’

  • bands – Required if output_format is ‘magnitude’ or ‘flux’

  • output_format – ‘flux_density’, ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’

  • lambda_array – Optional wavelength array in Angstroms to evaluate SED

  • cosmology – Cosmology object for luminosity distance calculation

Returns:

set by output format