redback.transient_models.stellar_interaction_models.wr_bh_merger

redback.transient_models.stellar_interaction_models.wr_bh_merger(time, redshift, M_star, M_bh, M_fast, M_pre, v_fast, v_slow, alpha, eta, **kwargs)[source]

Parameters: :param time: time in source frame in days :param redshift: redshift :param M_star: Mass of the Wolf-Rayet star in solar masses :param M_bh: Mass of the black hole in solar masses :param M_fast: Mass of the fast component in solar masses :param M_pre: Mass of the pre-merger CSM in solar masses :param v_fast: Velocity of the fast component in units of c :param v_slow: Velocity of the slow component in km/s :param alpha: Viscosity parameter :param eta: Efficiency of conversion of accretion energy to radiation :param kwargs: Additional parameters - Must be all the kwargs required by the specific photosphere, sed methods used

e.g., for TemperatureFloor: vej (km/s) and temperature_floor

Parameters:
  • theta – Disk aspect ratio

  • phi_0 – Solid angle of the slow component

  • kappa_s – Opacity of the slow component

  • kappa_f – Opacity of the fast component

  • kappa_x – Opacity of the x-ray component

  • N – Number of pre-merger orbits

  • photosphere – Default is TemperatureFloor. kwargs must have vej or relevant parameters if using different photosphere model

  • 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’, ‘dynamics_output’, ‘spectra’, ‘flux’, ‘sncosmo_source’