tardis.transport.montecarlo.estimators.continuum_radfield_properties module¶
- class tardis.transport.montecarlo.estimators.continuum_radfield_properties.ContinuumProperties(stimulated_recombination_rate_factor: pandas.core.frame.DataFrame, photo_ionization_rate_coefficient: pandas.core.frame.DataFrame)[source]¶
Bases:
object
- photo_ionization_rate_coefficient: DataFrame¶
- stimulated_recombination_rate_factor: DataFrame¶
- class tardis.transport.montecarlo.estimators.continuum_radfield_properties.DiluteBlackBodyContinuumPropertiesSolver(atom_data: AtomData)[source]¶
Bases:
object
- calculate_mean_intensity_photo_ion_table(dilute_blackbody_radiationfield_state: DilutePlanckianRadiationField)[source]¶
- calculate_photo_ionization_rate_coefficient(mean_intensity_photo_ion_df: DataFrame)[source]¶
Calculate the photoionization rate coefficient.
- Parameters:
- mean_intensity_photo_ion_dfpd.DataFrame
The mean intensity of the radiation field at the frequencies of the photoionization table.
- Returns:
- pd.DataFrame
The calculated photoionization rate coefficient.
Notes
Equation 16 in Lucy 2003.
- calculate_stimulated_recomb_rate_factor(mean_intensity_photo_ion_df: DataFrame, photo_ion_boltzmann_factor: ndarray)[source]¶
Calculate the stimulated recombination rate factor (the phi_ik are multiplied in the plasma).
- Parameters:
- mean_intensity_photo_ion_dfpd.DataFrame
The mean intensity of the radiation field at the frequencies of the photoionization table.
- photo_ion_boltzmann_factor: np.ndarray
The Boltzmann factor for the photoionization table.
- Returns:
- pd.DataFrame
The calculated stimulated recombination rate factor.
Notes
Equation 15 in Lucy 2003.
- solve(dilute_blackbody_radiationfield_state: DilutePlanckianRadiationField, t_electrons: Quantity)[source]¶
Solve for the continuum properties.
- Parameters:
- dilute_blackbody_radiationfield_stateDiluteBlackBodyRadiationFieldState
The state of the dilute blackbody radiation field.
- t_electronsu.Quantity
The temperature of the electrons.
- Returns:
- ContinuumProperties
The calculated continuum properties.
- class tardis.transport.montecarlo.estimators.continuum_radfield_properties.MCContinuumPropertiesSolver(atom_data: AtomData)[source]¶
Bases:
object
- solve(radfield_mc_estimators: RadiationFieldMCEstimators, time_simulation, volume)[source]¶
Solve for the continuum properties.
- Parameters:
- radfield_mc_estimatorsRadiationFieldMCEstimators
The Monte Carlo estimators for the radiation field.
- time_simulationfloat
The simulation time.
- volumefloat
The volume of the cells.
- Returns:
- ContinuumProperties
The calculated continuum properties.