redback.transient_models.supernova_models.nickelmixing

redback.transient_models.supernova_models.nickelmixing(time, redshift, mej, esn, kappa, kappa_gamma, f_nickel, f_mixing, temperature_floor, **kwargs)[source]

A model for the radioactive decay of a supernova with nickel mixing

Parameters:
  • time – time in observer frame in days

  • redshift – source redshift

  • mej – ejecta mass in solar masses

  • esn – energy of explosion in foe

  • vmax – maximum velocity of ejecta in km/s

  • kappa – gray opacity

  • kappa_gamma – gamma-ray opacity

  • f_nickel – fraction of nickel mass

  • f_mixing – fraction of nickel mass that is mixed, a low value puts all the nickel in the first shell.

  • kwargs – additional keyword arguments

  • beta – power law slope for mass distribution; m = m_0 * (v/v_min)^(-beta)

  • mass_len – number of mass shells, defaults to 200

  • vmax – maximum velocity in km/s, defaults to 100000

  • stop_time – time to stop ODE at, default is 300 days

  • dense_resolution – resolution of dense time array, default is 1000

  • frequency – Required if output_format is ‘flux_density’.

frequency to calculate - Must be same length as time array or a single number). :param bands: Required if output_format is ‘magnitude’ or ‘flux’. :param output_format: ‘flux_density’, ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’ :param lambda_array: Optional argument to set your desired wavelength array (in Angstroms) to evaluate the SED on. :param cosmology: Cosmology to use for luminosity distance calculation. Defaults to Planck18. Must be a astropy.cosmology object. :return: set by output format - ‘flux_density’, ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’