redback.transient_models.supernova_models.sn1998bw_template

redback.transient_models.supernova_models.sn1998bw_template(time, redshift, amplitude, **kwargs)[source]

A wrapper to the SN1998bw template. Only valid between 1100-11000 Angstrom and 0.01 to 90 days post explosion in rest frame

Parameters:
  • time – time in days in observer frame (post explosion)

  • redshift – redshift

  • amplitude – amplitude scaling factor, where 1.0 is the original brightness of SN1998bw; and f_lambda is scaled by this factor

  • kwargs – Additional keyword arguments required by redback.

  • frequency – Required if output_format is ‘flux_density’. frequency to calculate - Must be same length as time array or a single number).

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

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

  • cosmology – Cosmology to use for luminosity distance calculation. Defaults to Planck18. Must be a astropy.cosmology object.

Return type:

set by output format - ‘flux_density’, ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’