redback.transient_models.phase_models.t0_supernova_extinction
- redback.transient_models.phase_models.t0_supernova_extinction(time, t0, av_host, **kwargs)[source]
Supernova model with t0 parameter and host/MW extinction
- Parameters:
time – time in mjd
t0 – start time in mjd
av_host – V-band extinction from host galaxy in magnitudes
kwargs – Must be all the parameters required by the base_model specified using kwargs[‘base_model’] plus: - redshift: source redshift (required) - av_mw: MW V-band extinction in magnitudes (default 0.0) - rv_host: host R_V parameter (default 3.1) - rv_mw: MW R_V parameter (default 3.1) - host_law: host extinction law (default ‘fitzpatrick99’) - mw_law: MW extinction law (default ‘fitzpatrick99’) Available extinction laws: ‘fitzpatrick99’, ‘fm07’, ‘calzetti00’, ‘odonnell94’, ‘ccm89’
- Returns:
flux_density or magnitude depending on kwargs[‘output_format’] with extinction applied