redback.transient_models.afterglow_models.gaussian

redback.transient_models.afterglow_models.gaussian(time, redshift, thv, loge0, thw, thc, logn0, p, logepse, logepsb, ksin, g0, **kwargs)[source]

A gaussian structured jet model from afterglowpy

Parameters:
  • time – time in days in observer frame

  • redshift – source redshift

  • thv – viewing angle in radians

  • loge0 – log10 on axis isotropic equivalent energy

  • thw – wing truncation angle of jet thw = thw*thc

  • thc – half width of jet core in radians

  • logn0 – log10 number density of ISM in cm^-3

  • p – electron distribution power law index. Must be greater than 2.

  • logepse – log10 fraction of thermal energy in electrons

  • logepsb – log10 fraction of thermal energy in magnetic field

  • ksin – fraction of electrons that get accelerated

  • g0 – initial lorentz factor

  • kwargs – Additional keyword arguments

  • spread – whether jet can spread, defaults to False

  • latres – latitudinal resolution for structured jets, defaults to 2

  • tres – time resolution of shock evolution, defaults to 100

  • spectype – whether to have inverse compton, defaults to 0, i.e., no inverse compton. Change to 1 for including inverse compton emission.

  • q (l0, ts,) – energy injection parameters, defaults to 0

  • output_format – Whether to output flux density or AB mag

  • frequency – frequency in Hz for the flux density calculation

  • cosmology – Cosmology to use for luminosity distance calculation. Defaults to Planck18. Must be a astropy.cosmology object.

Returns:

flux density or AB mag. Note this is going to give the monochromatic magnitude at the effective frequency for the band. For a proper calculation of the magntitude use the sed variant models.