tardis.model.radiation_field_state module

class tardis.model.radiation_field_state.DiluteBlackBodyRadiationFieldState(t_radiative: Quantity, dilution_factor: ndarray, geometry=None)[source]

Bases: object

Represents the state of a dilute thermal radiation field.

Parameters
t_radiativeu.Quantity

Radiative temperature in each shell

dilution_factornumpy.ndarray

Dilution Factors in each shell

geometry: tardis.model.Radial1DModel

The geometry of the model that uses to constrains the active shells

calculate_mean_intensity(nu: Union[Quantity, ndarray])[source]

Calculate the intensity of the radiation field at a given frequency.

Parameters
nuu.Quantity

Frequency at which the intensity is to be calculated

Returns
intensityu.Quantity

Intensity of the radiation field at the given frequency