redback.transient_models.kilonova_models.mosfit_rprocess
- redback.transient_models.kilonova_models.mosfit_rprocess(time, redshift, mej, vej, kappa, kappa_gamma, temperature_floor, **kwargs)[source]
A single component kilonova model that should be exactly the same as mosfit’s r-process model. Effectively the only difference to the redback one_component model is the inclusion of gamma-ray opacity in diffusion.
- Parameters:
time – observer frame time in days
redshift – redshift
mej – ejecta mass in solar masses of first component
vej – minimum initial velocity of first component
kappa – gray opacity of first component
temperature_floor – floor temperature of first component
kappa_gamma – gamma-ray opacity
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.
dense_resolution – resolution of the grid that the model is actually evaluated on, default is 300
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’