PredefinedModelData
- class pyarts3.arts.PredefinedModelData(*args, **kwargs)
A map of
SpeciesIsotope
toPredefinedModelDataVariant
Workspace variables of type PredefinedModelData
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 predefined 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
Reads predefined models from catalog
Static Method
Create variable from file
Static Data
pyarts3.arts.PredefinedModelData.ItemView
<class ‘pyarts3.arts.PredefinedModelData.ItemView’> (
nb_type_0
)Static Data
pyarts3.arts.PredefinedModelData.KeyView
<class ‘pyarts3.arts.PredefinedModelData.KeyView’> (
nb_type_0
)Static Data
pyarts3.arts.PredefinedModelData.ValueView
<class ‘pyarts3.arts.PredefinedModelData.ValueView’> (
nb_type_0
)Operator
__contains__(self, arg: object, /) -> bool
Operator
__delitem__(self, arg: pyarts3.arts.SpeciesIsotope, /) -> None
Operator
Return self==value.
Operator
__format__(self, arg: str, /) -> str
Operator
Return self>=value.
Operator
__getitem__(self, arg: pyarts3.arts.SpeciesIsotope, /) -> pyarts3.arts.PredefinedModelDataVariant
Operator
__getstate__(self) -> tuple[pyarts3.arts.PredefinedModelData]
Operator
Return self>value.
Operator
Return hash(self).
Operator
Overloaded function.
Operator
__iter__(self) -> collections.abc.Iterator[pyarts3.arts.SpeciesIsotope]
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.SpeciesIsotope, arg1: pyarts3.arts.PredefinedModelDataVariant, /) -> None
Operator
__setstate__(self, arg: tuple[pyarts3.arts.PredefinedModelData]) -> None
Operator
__str__(self) -> str
Constructors
- __init__(self) None
- __init__(self, arg: pyarts3.arts.PredefinedModelData) None
- __init__(self, arg: dict[pyarts3.arts.SpeciesIsotope, pyarts3.arts.PredefinedModelDataVariant], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.PredefinedModelData) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.PredefinedModelData) -> None
Copy constructor
__init__(self, arg: dict[pyarts3.arts.SpeciesIsotope, pyarts3.arts.PredefinedModelDataVariant], /) -> None
Construct from a dictionary
__init__(self) -> None
__init__(self, arg: pyarts3.arts.PredefinedModelData) -> None
Methods
- items(self) pyarts3.arts.PredefinedModelData.ItemView
Returns an iterable view of the map’s items.
- keys(self) pyarts3.arts.PredefinedModelData.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", **kwargs = {}) pyarts3.arts.PropmatVector
Computes the predefined model absorption in 1/m
- Parameters:
f (AscendingGrid) – Frequency grid [Hz]
atm (AtmPoint) – Atmospheric point spec : SpeciesEnum, optional Species to use
- 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.PredefinedModelData, /) None
Update the map with element from arg
- values(self) pyarts3.arts.PredefinedModelData.ValueView
Returns an iterable view of the map’s values.
Static Methods
- fromcatalog(basename: str, specs: pyarts3.arts.ArrayOfArrayOfSpeciesTag) pyarts3.arts.PredefinedModelData
Reads predefined models from catalog
- fromxml(file: str) pyarts3.arts.PredefinedModelData
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.SpeciesIsotope, /) bool
- __contains__(self, arg: object, /) bool
- __delitem__(self, arg: pyarts3.arts.SpeciesIsotope, /) None
- __eq__(value, /)
Return self==value.
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: pyarts3.arts.SpeciesIsotope, /) pyarts3.arts.PredefinedModelDataVariant
- __getstate__(self) tuple[pyarts3.arts.PredefinedModelData]
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __init__(self) None
- __init__(self, arg: pyarts3.arts.PredefinedModelData) None
- __init__(self, arg: dict[pyarts3.arts.SpeciesIsotope, pyarts3.arts.PredefinedModelDataVariant], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.PredefinedModelData) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.PredefinedModelData) -> None
Copy constructor
__init__(self, arg: dict[pyarts3.arts.SpeciesIsotope, pyarts3.arts.PredefinedModelDataVariant], /) -> None
Construct from a dictionary
__init__(self) -> None
__init__(self, arg: pyarts3.arts.PredefinedModelData) -> None
- __iter__(self) collections.abc.Iterator[pyarts3.arts.SpeciesIsotope]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __ne__(value, /)
Return self!=value.
- __setitem__(self, arg0: pyarts3.arts.SpeciesIsotope, arg1: pyarts3.arts.PredefinedModelDataVariant, /) None
- __setstate__(self, arg: tuple[pyarts3.arts.PredefinedModelData]) None