redback.transient_models.kilonova_models.two_component_nsbh_ejecta_relation
- redback.transient_models.kilonova_models.two_component_nsbh_ejecta_relation(time, redshift, mass_bh, mass_ns, chi_bh, lambda_ns, zeta, vej_2, kappa_1, kappa_2, tf_1, tf_2, **kwargs)[source]
Two component NSBH model with dynamical and disk wind ejecta
- Parameters:
time – observer frame time in days
redshift – redshift
mass_bh – mass of black hole
mass_2 – mass of neutron star
chi_bh – spin of black hole along z axis
lambda_ns – tidal deformability of neutron star
zeta – fraction of disk that gets unbound
vej_2 – disk wind velocity in c
kappa_1 – gray opacity of first component
kappa_2 – gracy opacity of second component
tf_1 – floor temperature of first component
tf_2 – floor temperature of second component
kwargs – additional keyword arguments
ejecta_relation – a class that relates the instrinsic parameters to the kilonova parameters default is TwoComponentNSBH
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’