ArrayOfSpeciesIsotope
- class pyarts3.arts.ArrayOfSpeciesIsotope(*args, **kwargs)
A list of
SpeciesIsotope
Overview
Method
Append arg to the end of the list.
Method
Remove all items from list.
Method
Return number of occurrences of arg.
Method
Extend self by appending elements from arg.
Method
Insert object arg1 before index arg0.
Method
Remove and return item at index (default last).
Method
Read variable from file.
Method
Remove first occurrence of arg.
Method
Saves variable to file.
Static Method
Create variable from file.
Static Method
Create variable from file.
Operator
__contains__(self, arg: object, /) -> bool
Operator
__delitem__(self, arg: slice, /) -> None
Operator
__eq__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) -> bool
Operator
__format__(self, arg: str, /) -> str
Operator
__ge__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) -> bool
Operator
__getitem__(self, arg: slice, /) -> pyarts3.arts.ArrayOfSpeciesIsotope
Operator
__getstate__(self) -> tuple[pyarts3.arts.ArrayOfSpeciesIsotope]
Operator
__gt__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) -> bool
Operator
Return hash(self).
Operator
Overloaded function.
Operator
__iter__(self) -> collections.abc.Iterator[pyarts3.arts.SpeciesIsotope]
Operator
__le__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) -> bool
Operator
__len__(self) -> int
Operator
__lt__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) -> bool
Operator
__ne__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) -> bool
Operator
__repr__(self) -> str
Operator
__setitem__(self, arg0: slice, arg1: pyarts3.arts.ArrayOfSpeciesIsotope, /) -> None
Operator
__setstate__(self, arg: tuple[pyarts3.arts.ArrayOfSpeciesIsotope]) -> None
Operator
__str__(self) -> str
Constructors
- __init__(self) None
- __init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) None
- __init__(self, arg: collections.abc.Iterable[pyarts3.arts.SpeciesIsotope], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) -> None
Copy constructor
__init__(self, arg: collections.abc.Iterable[pyarts3.arts.SpeciesIsotope], /) -> None
Construct from an iterable object
__init__(self) -> None
__init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) -> None
Methods
- append(self, arg: pyarts3.arts.SpeciesIsotope, /) None
Append arg to the end of the list.
- count(self, arg: pyarts3.arts.SpeciesIsotope, /) int
Return number of occurrences of arg.
- extend(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) None
Extend self by appending elements from arg.
- insert(self, arg0: int, arg1: pyarts3.arts.SpeciesIsotope, /) None
Insert object arg1 before index arg0.
- pop(self, index: int = -1) pyarts3.arts.SpeciesIsotope
Remove and return item at index (default last).
- 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:
- remove(self, arg: pyarts3.arts.SpeciesIsotope, /) None
Remove first occurrence of arg.
- 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:
Static Methods
- fromxml(file: str) pyarts3.arts.ArrayOfSpeciesIsotope
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
- fromxmls(files: pyarts3.arts.ArrayOfString) pyarts3.arts.ArrayOfSpeciesIsotope
Create variable from file.
Like
fromxml()
but for split/multiple files.- Parameters:
- Raises:
RuntimeError – For any failure to read.
- Returns:
artstype – The variable created from the file.
- Return type:
T
Operators
- __contains__(self, arg: pyarts3.arts.SpeciesIsotope, /) bool
- __contains__(self, arg: object, /) bool
- __eq__(self, arg: object, /) bool
- __eq__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) bool
- __ge__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) bool
- __getitem__(self, arg: int, /) pyarts3.arts.SpeciesIsotope
- __getitem__(self, arg: slice, /) pyarts3.arts.ArrayOfSpeciesIsotope
- __getstate__(self) tuple[pyarts3.arts.ArrayOfSpeciesIsotope]
- __gt__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) bool
- __hash__()
Return hash(self).
- __init__(self) None
- __init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) None
- __init__(self, arg: collections.abc.Iterable[pyarts3.arts.SpeciesIsotope], /) None
- __init__(self) None
- __init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) -> None
Copy constructor
__init__(self, arg: collections.abc.Iterable[pyarts3.arts.SpeciesIsotope], /) -> None
Construct from an iterable object
__init__(self) -> None
__init__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope) -> None
- __iter__(self) collections.abc.Iterator[pyarts3.arts.SpeciesIsotope]
- __le__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) bool
- __lt__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) bool
- __ne__(self, arg: object, /) bool
- __ne__(self, arg: pyarts3.arts.ArrayOfSpeciesIsotope, /) bool
- __setitem__(self, arg0: int, arg1: pyarts3.arts.SpeciesIsotope, /) None
- __setitem__(self, arg0: slice, arg1: pyarts3.arts.ArrayOfSpeciesIsotope, /) None
- __setstate__(self, arg: tuple[pyarts3.arts.ArrayOfSpeciesIsotope]) None