redback.photosphere.TemperatureFloor
- class redback.photosphere.TemperatureFloor(time: ndarray, luminosity: ndarray, vej: ndarray, temperature_floor: Union[float, int], **kwargs: None)[source]
Bases:
object
- __init__(time: ndarray, luminosity: ndarray, vej: ndarray, temperature_floor: Union[float, int], **kwargs: None) None [source]
Photosphere with a floor temperature and effective blackbody otherwise
- Parameters:
time (numpy.ndarray) – source frame time in days
luminosity (numpy.ndarray) – luminosity
vej (numpy.ndarray) – ejecta velocity in km/s
temperature_floor (Union[float, int]) – floor temperature in kelvin
- __call__(**kwargs)
Call self as a function.
Methods
__init__
(time, luminosity, vej, ...)Photosphere with a floor temperature and effective blackbody otherwise
calculate_photosphere_properties
()calculate_photosphere_temperature
()calculate_r_photosphere
()set_radius_squared
()set_rec_radius_squared
()Attributes
RADIUS_CONSTANT
STEF_CONSTANT
mask
reference