QuantumIdentifierGriddedField1Map
- class pyarts3.arts.QuantumIdentifierGriddedField1Map(*args, **kwargs)
A map from
QuantumIdentifier
toGriddedField1
.Workspace methods that require QuantumIdentifierGriddedField1Map
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
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.QuantumIdentifierGriddedField1Map.ItemView
<class ‘pyarts3.arts.QuantumIdentifierGriddedField1Map.ItemView’> (
nb_type_0
)Static Data
pyarts3.arts.QuantumIdentifierGriddedField1Map.KeyView
<class ‘pyarts3.arts.QuantumIdentifierGriddedField1Map.KeyView’> (
nb_type_0
)Static Data
pyarts3.arts.QuantumIdentifierGriddedField1Map.ValueView
<class ‘pyarts3.arts.QuantumIdentifierGriddedField1Map.ValueView’> (
nb_type_0
)Operator
__contains__(self, arg: object, /) -> bool
Operator
__delitem__(self, arg: pyarts3.arts.QuantumIdentifier, /) -> None
Operator
__eq__(self, arg: object, /) -> bool
Operator
__format__(self, arg: str, /) -> str
Operator
Return self>=value.
Operator
__getitem__(self, arg: pyarts3.arts.QuantumIdentifier, /) -> pyarts3.arts.GriddedField1
Operator
Helper for pickle.
Operator
Return self>value.
Operator
Return hash(self).
Operator
Overloaded function.
Operator
__iter__(self) -> collections.abc.Iterator[pyarts3.arts.QuantumIdentifier]
Operator
Return self<=value.
Operator
__len__(self) -> int
Operator
Return self<value.
Operator
__ne__(self, arg: object, /) -> bool
Operator
__repr__(self) -> str
Operator
__setitem__(self, arg0: pyarts3.arts.QuantumIdentifier, arg1: pyarts3.arts.GriddedField1, /) -> None
Operator
__str__(self) -> str
Constructors
- __init__(self) None
- __init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) None
- __init__(self, arg: dict[pyarts3.arts.QuantumIdentifier, pyarts3.arts.GriddedField1], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) -> None
Copy constructor
__init__(self, arg: dict[pyarts3.arts.QuantumIdentifier, pyarts3.arts.GriddedField1], /) -> None
Construct from a dictionary
__init__(self) -> None
__init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) -> None
Methods
- items(self) pyarts3.arts.QuantumIdentifierGriddedField1Map.ItemView
Returns an iterable view of the map’s items.
- keys(self) pyarts3.arts.QuantumIdentifierGriddedField1Map.KeyView
Returns an iterable view of the map’s keys.
- readxml(self, file: str) str
Read variable from file.
- Parameters:
file (str) – A file that can be read.
- Raises:
RuntimeError – For any failure to read.
- Returns:
file – The file path found (may differ from input due to environment variables).
- Return type:
- savexml(self, file: str, type: str = 'ascii', clobber: bool = True) str
Saves variable to file.
- Parameters:
file (str) – The path to which the file is written. Note that several of the options might modify the name or write more files.
type (str, optional) – Type of file to save. See
FileType
for options. Defaults is “ascii”.clobber (bool, optional) – Overwrite existing files or add new file with modified name? Defaults is True.
- Raises:
RuntimeError – For any failure to write.
- Returns:
file – The file saved. May differ from input.
- Return type:
- update(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map, /) None
Update the map with element from arg
- values(self) pyarts3.arts.QuantumIdentifierGriddedField1Map.ValueView
Returns an iterable view of the map’s values.
Static Methods
- fromxml(file: str) pyarts3.arts.QuantumIdentifierGriddedField1Map
Create variable from file.
- Parameters:
file (str) – A file that can be read
- Raises:
RuntimeError – For any failure to read.
- Returns:
artstype – The variable created from the file.
- Return type:
T
Operators
- __contains__(self, arg: pyarts3.arts.QuantumIdentifier, /) bool
- __contains__(self, arg: object, /) bool
- __delitem__(self, arg: pyarts3.arts.QuantumIdentifier, /) None
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: pyarts3.arts.QuantumIdentifier, /) pyarts3.arts.GriddedField1
- __getstate__()
Helper for pickle.
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __init__(self) None
- __init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) None
- __init__(self, arg: dict[pyarts3.arts.QuantumIdentifier, pyarts3.arts.GriddedField1], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) -> None
Copy constructor
__init__(self, arg: dict[pyarts3.arts.QuantumIdentifier, pyarts3.arts.GriddedField1], /) -> None
Construct from a dictionary
__init__(self) -> None
__init__(self, arg: pyarts3.arts.QuantumIdentifierGriddedField1Map) -> None
- __iter__(self) collections.abc.Iterator[pyarts3.arts.QuantumIdentifier]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __setitem__(self, arg0: pyarts3.arts.QuantumIdentifier, arg1: pyarts3.arts.GriddedField1, /) None