redback.transient_models.afterglow_models.base_models.jetsimpy_powerlaw
- redback.transient_models.afterglow_models.base_models.jetsimpy_powerlaw(time, redshift, thv, loge0, thc, nism, A, p, logepse, logepsb, g0, s, **kwargs)[source]
A power-law jet model from jetsimpy
- Parameters:
time – time in days in observer frame
redshift – source redshift
thv – viewing angle in radians
loge0 – log10 on axis isotropic equivalent energy
thc – half width of jet core/jet opening angle in radians
nism – number density of ISM in cm^-3 (ntot = A * (r / 1e17)^-2 + nism (cm^-3))
A – wind density scale (ntot = A * (r / 1e17)^-2 + nism (cm^-3))
p – electron distribution power law index.
logepse – log10 fraction of thermal energy in electrons
logepsb – log10 fraction of thermal energy in magnetic field
g0 – initial lorentz factor
s – power-law jet slope
kwargs – Additional keyword arguments
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.