AbsorptionLookupTables
- class pyarts3.arts.AbsorptionLookupTables(*args, **kwargs)
A map of
SpeciesEnum
toAbsorptionLookupTable
.Workspace variables of type AbsorptionLookupTables
Overview
Method
Remove all items
Method
Returns an iterable view of the map’s items.
Method
Returns an iterable view of the map’s keys.
Method
Computes the line-by-line model absorption in 1/m
Method
Read variable from file
Method
Saves variable to file
Method
Update the map with element from arg
Method
Returns an iterable view of the map’s values.
Static Method
Create variable from file
Static Data
pyarts3.arts.AbsorptionLookupTables.ItemView
<class ‘pyarts3.arts.AbsorptionLookupTables.ItemView’> (
nb_type_0
)Static Data
pyarts3.arts.AbsorptionLookupTables.KeyView
<class ‘pyarts3.arts.AbsorptionLookupTables.KeyView’> (
nb_type_0
)Static Data
pyarts3.arts.AbsorptionLookupTables.ValueView
<class ‘pyarts3.arts.AbsorptionLookupTables.ValueView’> (
nb_type_0
)Operator
__contains__(self, arg: object, /) -> bool
Operator
__delitem__(self, arg: pyarts3.arts.SpeciesEnum, /) -> None
Operator
Return self==value.
Operator
__format__(self, arg: str, /) -> str
Operator
Return self>=value.
Operator
__getitem__(self, arg: pyarts3.arts.SpeciesEnum, /) -> pyarts3.arts.AbsorptionLookupTable
Operator
Helper for pickle.
Operator
Return self>value.
Operator
Return hash(self).
Operator
Overloaded function.
Operator
__iter__(self) -> collections.abc.Iterator[pyarts3.arts.SpeciesEnum]
Operator
Return self<=value.
Operator
__len__(self) -> int
Operator
Return self<value.
Operator
Return self!=value.
Operator
__repr__(self) -> str
Operator
__setitem__(self, arg0: pyarts3.arts.SpeciesEnum, arg1: pyarts3.arts.AbsorptionLookupTable, /) -> None
Operator
__str__(self) -> str
Constructors
- __init__(self) None
- __init__(self, arg: pyarts3.arts.AbsorptionLookupTables) None
- __init__(self, arg: dict[pyarts3.arts.SpeciesEnum, pyarts3.arts.AbsorptionLookupTable], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.AbsorptionLookupTables) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.AbsorptionLookupTables) -> None
Copy constructor
__init__(self, arg: dict[pyarts3.arts.SpeciesEnum, pyarts3.arts.AbsorptionLookupTable], /) -> None
Construct from a dictionary
__init__(self) -> None
__init__(self, arg: pyarts3.arts.AbsorptionLookupTables) -> None
Methods
- items(self) pyarts3.arts.AbsorptionLookupTables.ItemView
Returns an iterable view of the map’s items.
- keys(self) pyarts3.arts.AbsorptionLookupTables.KeyView
Returns an iterable view of the map’s keys.
- propagation_matrix(self, f: pyarts3.arts.AscendingGrid, atm: pyarts3.arts.AtmPoint, spec: pyarts3.arts.SpeciesEnum = "AIR", no_negative_absorption: int = 1, p_interp_order: int = 7, t_interp_order: int = 7, water_interp_order: int = 7, f_interp_order: int = 7, extpolfac: float = 0.5, **kwargs = {}) pyarts3.arts.PropmatVector
Computes the line-by-line model absorption in 1/m
- Parameters:
f (AscendingGrid) – Frequency grid [Hz]
atm (AtmPoint) – Atmospheric point
spec (SpeciesEnum, optional) – Species to use. Defaults to all.
no_negative_absorption (Index, optional) – If 1, the absorption is set to zero if it is negative. The default is 1.
p_interp_order (Index, optional) – Order of interpolation in pressure. The default is 7.
t_interp_order (Index, optional) – Order of interpolation in temperature. The default is 7.
water_interp_order (Index, optional) – Order of interpolation in water VMR. The default is 7.
f_interp_order (Index, optional) – Order of interpolation in frequency. The default is 7.
extpolfac (Numeric, optional) – How far the grids are allowed to be extended in relative distance of the outer two most grid points. Default is 0.5.
- Returns:
propagation_matrix – Propagation matrix by frequency [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
- update(self, arg: pyarts3.arts.AbsorptionLookupTables, /) None
Update the map with element from arg
- values(self) pyarts3.arts.AbsorptionLookupTables.ValueView
Returns an iterable view of the map’s values.
Static Methods
- fromxml(file: str) pyarts3.arts.AbsorptionLookupTables
Create variable from file
- Parameters:
file (str) – A file that can be read
- On Error:
Throws RuntimeError for any failure to read
Operators
- __contains__(self, arg: pyarts3.arts.SpeciesEnum, /) bool
- __contains__(self, arg: object, /) bool
- __delitem__(self, arg: pyarts3.arts.SpeciesEnum, /) None
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: pyarts3.arts.SpeciesEnum, /) pyarts3.arts.AbsorptionLookupTable
- __getstate__()
Helper for pickle.
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __init__(self) None
- __init__(self, arg: pyarts3.arts.AbsorptionLookupTables) None
- __init__(self, arg: dict[pyarts3.arts.SpeciesEnum, pyarts3.arts.AbsorptionLookupTable], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.AbsorptionLookupTables) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.AbsorptionLookupTables) -> None
Copy constructor
__init__(self, arg: dict[pyarts3.arts.SpeciesEnum, pyarts3.arts.AbsorptionLookupTable], /) -> None
Construct from a dictionary
__init__(self) -> None
__init__(self, arg: pyarts3.arts.AbsorptionLookupTables) -> None
- __iter__(self) collections.abc.Iterator[pyarts3.arts.SpeciesEnum]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setitem__(self, arg0: pyarts3.arts.SpeciesEnum, arg1: pyarts3.arts.AbsorptionLookupTable, /) None