redback.transient_models.kilonova_models.two_comp_kne_rosswog_heatingrate
- redback.transient_models.kilonova_models.two_comp_kne_rosswog_heatingrate(time, redshift, mej_1, vej_1, temperature_floor_1, ye_1, mej_2, vej_2, temperature_floor_2, ye_2, **kwargs)[source]
- Parameters:
time – observer frame time in days
redshift – redshift
mej_1 – ejecta mass in solar masses of first component
vej_1 – minimum initial velocity of first component
kappa_1 – gray opacity of first component
temperature_floor_1 – floor temperature of first component
mej_2 – ejecta mass in solar masses of second component
vej_2 – minimum initial velocity of second component
temperature_floor_2 – floor temperature of second component
kappa_2 – gray opacity of second component
kwargs – Additional keyword arguments
heating_rate_perturbation – A fudge factor for heating rate to account for uncertainties in the heating rate.
Default is 1.0 i.e., no perturbation. :param heating_rate_fudge: A fudge factor for each of the terms in the heating rate. Default to 1. i.e., no uncertainty :param frequency: Required if output_format is ‘flux_density’.
frequency to calculate - Must be same length as time array or a single number).
- Parameters:
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’