redback.transient_models.afterglow_models.afterglow_models_with_jet_spread
- redback.transient_models.afterglow_models.afterglow_models_with_jet_spread(time, **kwargs)[source]
A base class for afterglow models with jet spreading. Note, with these models you cannot sample in g0.
- Parameters:
time – time in days in observer frame
kwargs – Additional keyword arguments
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
base_model – A string to indicate the type of jet model to use.
- 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.