redback.transient_models.kilonova_models.two_component_bns_ejecta_relation

redback.transient_models.kilonova_models.two_component_bns_ejecta_relation(time, redshift, mass_1, mass_2, lambda_1, lambda_2, mtov, zeta, vej_2, kappa_1, kappa_2, tf_1, tf_2, **kwargs)[source]

Assumes two kilonova components corresponding to dynamical and disk wind ejecta with properties derived using ejecta relation specified by keyword argument.

Parameters:
  • time – observer frame time in days

  • redshift – redshift

  • mass_1 – mass of primary in solar masses

  • mass_2 – mass of secondary in solar masses

  • lambda_1 – dimensionless tidal deformability of primary

  • lambda_2 – dimensionless tidal deformability of secondary

  • mtov – Tolman Oppenheimer Volkoff mass in solar masses

  • 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 TwoComponentBNS

  • 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’