redback.transient_models.magnetar_models.luminosity_based_magnetar_models
- redback.transient_models.magnetar_models.luminosity_based_magnetar_models(time, photon_index, **kwargs)[source]
Luminosity models that you want to fit to flux data by placing a prior on the redshift.
- Parameters:
time – time in observers frame
photon_index – photon index
kwargs – all parameters for the model of choice.
cosmology – Cosmology to use for luminosity distance calculation. Defaults to Planck18. Must be a astropy.cosmology object.
- Returns:
luminosity/1e50 erg