redback.transient_models.phenomenological_models.evolving_blackbody

redback.transient_models.phenomenological_models.evolving_blackbody(time, redshift, temperature_0, radius_0, temp_rise_index, temp_decline_index, temp_peak_time, radius_rise_index, radius_decline_index, radius_peak_time, reference_time=1.0, **kwargs)[source]

Blackbody spectrum with piecewise evolving temperature and radius

Parameters:
  • time – time in observer frame in days

  • redshift – source redshift

  • temperature_0 – initial blackbody temperature in Kelvin at reference_time

  • radius_0 – initial blackbody radius in cm at reference_time

  • temp_rise_index – temperature rise T(t) ∝ t^temp_rise_index for t < temp_peak_time

  • temp_decline_index – temperature decline T(t) ∝ t^(-temp_decline_index) for t > temp_peak_time

  • temp_peak_time – time in days when temperature peaks

  • radius_rise_index – radius rise R(t) ∝ t^radius_rise_index for t < radius_peak_time

  • radius_decline_index – radius decline R(t) ∝ t^(-radius_decline_index) for t > radius_peak_time

  • radius_peak_time – time in days when radius peaks

  • reference_time – reference time for temperature_0, radius_0, and pl_amplitude in days (defaults to 1.0)

  • 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 - ‘flux_density’, ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’