petitRADTRANS.opacities.cia#
Attributes#
Functions#
|
|
|
|
|
|
|
Wrapper to interpolate_cia, calculating each collision's combined mass fraction. |
|
Interpolate CIA cross-sections onto the Radtrans (wavelength, temperature) grid and convert it into |
Module Contents#
- petitRADTRANS.opacities.cia._INV_LOSCHMIDT_SQUARED#
- petitRADTRANS.opacities.cia._CIA_OPACITY_CUTOFF#
- petitRADTRANS.opacities.cia.get_cia_aliases(name: str) str#
- petitRADTRANS.opacities.cia.init_cia_loaded_opacities(cia_contributors)#
- petitRADTRANS.opacities.cia.get_cia_contributors(gas_continuum_contributors)#
- petitRADTRANS.opacities.cia.compute_cia_opacities(cia_dicts, mass_fractions, pressures, temperatures, frequencies, mean_molar_masses)#
Wrapper to interpolate_cia, calculating each collision’s combined mass fraction.
- petitRADTRANS.opacities.cia.interpolate_cia(collision_dict, combined_mass_fractions, pressures, temperatures, frequencies, mean_molar_masses)#
Interpolate CIA cross-sections onto the Radtrans (wavelength, temperature) grid and convert it into opacities.
- Args:
- combined_mass_fractions: combined mass fractions of the colliding species
e.g., for H2-He and an atmosphere with H2 and He MMR of respectively 0.74 and 0.24, combined_mas_fractions = 0.74 * 0.24 combined_mas_fractions is divided by the combined weight (e.g. for H2 and He, 2 * 4 AMU^2), so there is no units issue.
- Returns:
A (wavelength, temperature) array containing the CIA opacities.