tardis.opacities.continuum.continuum_state module

class tardis.opacities.continuum.continuum_state.ContinuumState(nu_i, level2continuum_idx, p_fb_deactivation, photo_ion_cross_sections, chi_bf, ff_cooling_factor, fb_emission_cdf, photo_ion_idx, k_packet_idx)[source]

Bases: object

Current State of the Continuum Required for Opacity Computation

Parameters:
nu_ipd.DataFrame

frequencies for the bound-free thresholds

level2continuum_idxpd.DataFrame

mapping from levels to the continuum

p_fb_deactivationpd.DataFrame

probabilities of free-bound deactivation channels

photo_ion_cross_sectionspd.DataFrame

Photoionization cross sections

chi_bfpd.DataFrame

Bound-free opacities

ff_cooling_factornp.ndarray

free-free cooling factor

fb_emission_cdfpd.DataFrame

free-bound emission cumulative distribution function

photo_ion_idxpd.DataFrame

photoionization indices

k_packet_idxpd.DataFrame

k-packet indices

property bf_threshold_list_nu

List of Bound-Free Threshold Frequencies

Returns:
pd.DataFrame
property chi_bf

Bound-Free Opacities indices corresponding to the continuum levels

Returns:
pd.DataFrame
property emissivities

Free-bound Emissivities corresponding to the continuum levels

Returns:
pd.DataFrame
classmethod from_legacy_plasma(plasma)[source]

Generates a ContinuumState object from a tardis BasePlasma

Parameters:
plasmatarids.plasma.BasePlasma

legacy base plasma

Returns:
ContinuumState
property phot_nus

Frequencies corresponding to Photoionization Cross Sections

Returns:
pd.DataFrame
property photo_ion_activation_idx

Index corresponding to photoionization activation

Returns:
pd.DataFrame
property photo_ion_block_references

Photoionization Block References

Returns:
np.ndarray
property photo_ion_nu_threshold_maxs

Maximum Edges of the photoionization threshold frequencies

Returns:
pd.DataFrame
property photo_ion_nu_threshold_mins

Minimum Edges of the photoionization threshold frequencies

Returns:
pd.DataFrame
property x_sect

Photoionization Cross Sections mapped to the continuum indices

Returns:
pd.DataFrame