redback.transient_models.afterglow_models.afterglow_models_sed
- redback.transient_models.afterglow_models.afterglow_models_sed(time, **kwargs)[source]
A base class for afterglowpy models for bandpass magnitudes/flux/spectra/sncosmo source.
- Parameters:
time – time in days in observer frame
kwargs – Additional keyword arguments, must be all parameters required by the base model and the following:
base_model – A string to indicate the type of jet model to use.
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.
bands – Required if output_format is ‘magnitude’ or ‘flux’.
output_format – ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’
lambda_array – Optional argument to set your desired wavelength array (in Angstroms) to evaluate the SED on.
- Returns:
set by output format - ‘magnitude’, ‘spectra’, ‘flux’, ‘sncosmo_source’