CIARecord
- class pyarts3.arts.CIARecord(*args, **kwargs)
Contains information to compute collision induced absorption (CIA) for a pair of species.
A record holds a list of
GriddedField2
objects, each which describe a separate band of absorption with dimensions of frequency times temperature. TheMatrix
objects in theGriddedField2
simply holds data to be interpolated in the frequency and temperature with physical units of [m \(^5\) per molecule \(^2\)].Workspace methods that require CIARecord
Overview
Method
Computes the collision-induced absorption in 1/m
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
Data by bands
Attribute
The two species
Operator
Return self==value.
Operator
__format__(self, arg: str, /) -> str
Operator
Return self>=value.
Operator
__getstate__(self) -> tuple[pyarts3.arts.ArrayOfGriddedField2, list[pyarts3.arts.SpeciesEnum]]
Operator
Return self>value.
Operator
Return hash(self).
Operator
__init__(self, arg0: pyarts3.arts.ArrayOfGriddedField2, arg1: pyarts3.arts.SpeciesEnum, arg2: pyarts3.arts.SpeciesEnum, /) -> None
Operator
Return self<=value.
Operator
Return self<value.
Operator
Return self!=value.
Operator
__repr__(self) -> str
Operator
__setstate__(self, arg: tuple[pyarts3.arts.ArrayOfGriddedField2, collections.abc.Sequence[pyarts3.arts.SpeciesEnum]], /) -> None
Operator
__str__(self) -> str
Constructors
- __init__(self) None
- __init__(self, arg: pyarts3.arts.CIARecord) None
- __init__(self, arg0: pyarts3.arts.ArrayOfGriddedField2, arg1: pyarts3.arts.SpeciesEnum, arg2: pyarts3.arts.SpeciesEnum, /) None
Methods
- compute_abs(self, T: float, P: float, X0: float, X1: float, f: pyarts3.arts.Vector, T_extrapolfac: float = 0.0, robust: int = 1) pyarts3.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:
- propagation_matrix(self, f: pyarts3.arts.AscendingGrid, atm: pyarts3.arts.AtmPoint, T_extrapolfac: float = 0.0, robust: int = 1) pyarts3.arts.PropmatVector
Computes the collision-induced absorption in 1/m
- Parameters:
f (AscendingGrid) – Frequency grid [Hz]
atm (AtmPoint) – Atmospheric point
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) str
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) str
Saves variable to file
- Parameters:
- On Error:
Throws RuntimeError for any failure to save
Static Methods
- fromxml(file: str) pyarts3.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
- specs: tuple[pyarts3.arts.SpeciesEnum, pyarts3.arts.SpeciesEnum]
The two species
Operators
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getstate__(self) tuple[pyarts3.arts.ArrayOfGriddedField2, list[pyarts3.arts.SpeciesEnum]]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __init__(self) None
- __init__(self, arg: pyarts3.arts.CIARecord) None
- __init__(self, arg0: pyarts3.arts.ArrayOfGriddedField2, arg1: pyarts3.arts.SpeciesEnum, arg2: pyarts3.arts.SpeciesEnum, /) None
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setstate__(self, arg: tuple[pyarts3.arts.ArrayOfGriddedField2, collections.abc.Sequence[pyarts3.arts.SpeciesEnum]], /) None