SpeciesEnumVectors
- class pyarts.arts.SpeciesEnumVectors(*args, **kwargs)
A map of
SpeciesEnum
toVector
Workspace methods that require SpeciesEnumVectors
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
pyarts.arts.SpeciesEnumVectors.ItemView
<class ‘pyarts.arts.SpeciesEnumVectors.ItemView’> -
nb_type_0
Static Data
pyarts.arts.SpeciesEnumVectors.KeyView
<class ‘pyarts.arts.SpeciesEnumVectors.KeyView’> -
nb_type_0
Static Data
pyarts.arts.SpeciesEnumVectors.ValueView
<class ‘pyarts.arts.SpeciesEnumVectors.ValueView’> -
nb_type_0
Operator
__contains__(self, arg: object, /) -> bool
Operator
__delitem__(self, arg: pyarts.arts.SpeciesEnum, /) -> None
Operator
__eq__(self, arg: object, /) -> bool
Operator
Return self>=value.
Operator
__getitem__(self, arg: pyarts.arts.SpeciesEnum, /) -> pyarts.arts.Vector
Operator
Return self>value.
Operator
Return hash(self).
Operator
__iter__(self) -> collections.abc.Iterator[pyarts.arts.SpeciesEnum]
Operator
Return self<=value.
Operator
__len__(self) -> int
Operator
Return self<value.
Operator
__ne__(self, arg: object, /) -> bool
Operator
__setitem__(self, arg0: pyarts.arts.SpeciesEnum, arg1: pyarts.arts.Vector, /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.SpeciesEnumVectors) None
- __init__(self, arg: dict[pyarts.arts.SpeciesEnum, pyarts.arts.Vector], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.SpeciesEnumVectors) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts.arts.SpeciesEnumVectors) -> None
Copy constructor
__init__(self, arg: dict[pyarts.arts.SpeciesEnum, pyarts.arts.Vector], /) -> None
Construct from a dictionary
__init__(self) -> None
__init__(self, arg: pyarts.arts.SpeciesEnumVectors) -> None
Methods
- items(self) pyarts.arts.SpeciesEnumVectors.ItemView
Returns an iterable view of the map’s items.
- keys(self) pyarts.arts.SpeciesEnumVectors.KeyView
Returns an iterable view of the map’s keys.
- 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
- update(self, arg: pyarts.arts.SpeciesEnumVectors, /) None
Update the map with element from arg
- values(self) pyarts.arts.SpeciesEnumVectors.ValueView
Returns an iterable view of the map’s values.
Static Methods
- fromxml(file: str) pyarts.arts.SpeciesEnumVectors
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: pyarts.arts.SpeciesEnum, /) bool
- __contains__(self, arg: object, /) bool
- __delitem__(self, arg: pyarts.arts.SpeciesEnum, /) None
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: pyarts.arts.SpeciesEnum, /) pyarts.arts.Vector
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __iter__(self) collections.abc.Iterator[pyarts.arts.SpeciesEnum]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __setitem__(self, arg0: pyarts.arts.SpeciesEnum, arg1: pyarts.arts.Vector, /) None