redback.photosphere.DenseCore
- class redback.photosphere.DenseCore(time: ndarray, luminosity: ndarray, mej: float, vej: float, kappa: float, envelope_slope: float = 10.0, **kwargs: None)[source]
Bases:
object
- __init__(time: ndarray, luminosity: ndarray, mej: float, vej: float, kappa: float, envelope_slope: float = 10.0, **kwargs: None) None [source]
Photosphere with a dense core and a low-mass envelope.
- Parameters:
time – time in source frame in days
luminosity – luminosity
mej – ejecta mass
vej – ejecta velocity in km/s
kappa – opacity
envelope_slope – envelope slope, default = 10
- __call__(**kwargs)
Call self as a function.
Methods
__init__
(time, luminosity, mej, vej, kappa)Photosphere with a dense core and a low-mass envelope.
calculate_photosphere_properties
()set_radius
()set_rho_core
()Attributes
STEF_CONSTANT
mask_1
mask_2
mask_4
mask_all
peak_luminosity_index
reference
tau_core
tau_e
temperature_last