redback.transient_models.supernova_models.csm_interaction_bolometric
- redback.transient_models.supernova_models.csm_interaction_bolometric(time, mej, csm_mass, vej, eta, rho, kappa, r0, **kwargs)[source]
- Parameters:
time – time in days in source frame
mej – ejecta mass in solar masses
csm_mass – csm mass in solar masses
vej – ejecta velocity in km/s
eta – csm density profile exponent
rho – csm density profile amplitude
kappa – opacity
r0 – radius of csm shell in AU
kwargs –
Additional keyword arguments: efficiency: in converting between kinetic energy and luminosity, default 0.5 delta: default 1, nn: default 12, dense_resolution: resolution of dense engine time array, default 1000 dense_time_min: minimum dense engine time in days, default min(0.1, min(time)) stop_time: maximum dense engine time in days, default max(time) + 100 csm_diffusion_method: CSM diffusion integral method. Default is “cumulative”.
Use “quadrature” for the legacy per-time integral.
If interaction process is different kwargs must include other keyword arguments that are required.
interaction_process – Default is CSMDiffusion. Can also be None in which case the output is just the raw engine luminosity, or another interaction process.
- Returns:
bolometric_luminosity