redback.transient_models.supernova_models.sn_nickel_fallback

redback.transient_models.supernova_models.sn_nickel_fallback(time, redshift, mej, f_nickel, logl1, tr, **kwargs)[source]
Parameters:
  • time – observer frame time in days

  • redshift – source redshift

  • mej – total ejecta mass in solar masses

  • f_nickel – fraction of nickel mass

  • logl1 – bolometric luminosity scale in log10 (cgs)

  • tr – transition time for luminosity

  • kwargs – Must be all the kwargs required by the specific interaction_process, photosphere, sed methods used e.g., for Diffusion and TemperatureFloor: kappa, kappa_gamma, mej (solar masses), vej (km/s), floor temperature

  • interaction_process – Default is Diffusion. Can also be None in which case the output is just the raw engine luminosity, or another interaction process.

  • photosphere – Default is TemperatureFloor. kwargs must vej or relevant parameters if using different photosphere model

  • sed – Default is blackbody.

  • 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’

  • lambda_array – Optional argument to set your desired wavelength array (in Angstroms) to evaluate the SED on.

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

Returns:

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