redback.transient_models.kilonova_models.three_component_kilonova_model
- redback.transient_models.kilonova_models.three_component_kilonova_model(time, redshift, mej_1, vej_1, temperature_floor_1, kappa_1, mej_2, vej_2, temperature_floor_2, kappa_2, mej_3, vej_3, temperature_floor_3, kappa_3, **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
mej_3 – ejecta mass in solar masses of third component
vej_3 – minimum initial velocity of third component
temperature_floor_3 – floor temperature of third component
kappa_3 – gray opacity of third component
kwargs – Additional keyword arguments
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’