CIARecord
- class pyarts.arts.CIARecord(*args, **kwargs)
Contains information to compute collision induced absorption for a pair of species
Holds an the record data in a gridded field with grids of temperature and frequency in units of m^5 molec^(-2)
Workspace methods that require CIARecord
Overview
Method
Computes the collision-induced absorption in 1/m
Method
Read variable from file
Method
Saves variable to file
Static Method
Create variable from file
Attribute
ArrayOfGriddedField2
Data by bandsAttribute
list
The two speciesOperator
Return self==value.
Operator
Return self>=value.
Operator
__getstate__(self) -> tuple[pyarts.arts.ArrayOfGriddedField2, std::array<SpeciesEnum, 2ul>]
Operator
Return self>value.
Operator
Return hash(self).
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Operator
__setstate__(self, arg: tuple[pyarts.arts.ArrayOfGriddedField2, std::array<SpeciesEnum, 2ul>], /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.CIARecord) None
- __init__(self, arg0: pyarts.arts.ArrayOfGriddedField2, arg1: pyarts.arts.SpeciesEnum, arg2: pyarts.arts.SpeciesEnum, /) None
Methods
- compute_abs(self, T: float, P: float, X0: float, X1: float, f: pyarts.arts.Vector, T_extrapolfac: float = 0.0, robust: int = 1) pyarts.arts.Vector
Computes the collision-induced absorption in 1/m
- Parameters:
T (Numeric) – Temperature [K]
P (Numeric) – Pressure [Pa]
X0 (Numeric) – VMR of species 1 [-]
X1 (Numeric) – VMR of species 2 [-]
f (Vector) – Frequency grid [Hz]
T_extrapolfac (Numeric, optional) – Extrapolation in temperature. The default is 0
robust (Index, optional) – Returns NaN instead of throwing if it evaluates true. The default is 1
- Returns:
abs – Absorption profile [1/m]
- Return type:
- readxml(self, file: str) None
Read variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) None
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts.arts.CIARecord
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Attributes
- data
ArrayOfGriddedField2
Data by bands
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getstate__(self) tuple[pyarts.arts.ArrayOfGriddedField2, std::array<SpeciesEnum, 2ul>]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.