ArrayOfVector2
- class pyarts.arts.ArrayOfVector2(*args, **kwargs)
A list of
Vector2
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
Operator
__contains__(self, arg: object, /) -> bool
Operator
__delitem__(self, arg: slice, /) -> None
Operator
__eq__(self, arg: object, /) -> bool
Operator
Return self>=value.
Operator
__getitem__(self, arg: slice, /) -> pyarts.arts.ArrayOfVector2
Operator
Return self>value.
Operator
Return hash(self).
Operator
__iter__(self) -> collections.abc.Iterator[pyarts.arts.Vector2]
Operator
Return self<=value.
Operator
__len__(self) -> int
Operator
Return self<value.
Operator
__ne__(self, arg: object, /) -> bool
Operator
__setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfVector2, /) -> None
Constructors
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfVector2) None
- __init__(self, arg: collections.abc.Iterable[pyarts.arts.Vector2], /) None
- __init__(self) None
- __init__(self, arg: pyarts.arts.ArrayOfVector2) None
Overloaded function.
__init__(self) -> None
Default constructor
__init__(self, arg: pyarts.arts.ArrayOfVector2) -> None
Copy constructor
__init__(self, arg: collections.abc.Iterable[pyarts.arts.Vector2], /) -> None
Construct from an iterable object
__init__(self) -> None
__init__(self, arg: pyarts.arts.ArrayOfVector2) -> None
Methods
- append(self, arg: pyarts.arts.Vector2, /) None
Append arg to the end of the list.
- count(self, arg: pyarts.arts.Vector2, /) int
Return number of occurrences of arg.
- extend(self, arg: pyarts.arts.ArrayOfVector2, /) None
Extend self by appending elements from arg.
- insert(self, arg0: int, arg1: pyarts.arts.Vector2, /) None
Insert object arg1 before index arg0.
- pop(self, index: int = -1) pyarts.arts.Vector2
Remove and return item at index (default last).
- 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
- remove(self, arg: pyarts.arts.Vector2, /) None
Remove first occurrence of arg.
- 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
Static Methods
- fromxml(file: str) pyarts.arts.ArrayOfVector2
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.Vector2, /) bool
- __contains__(self, arg: object, /) bool
- __ge__(value, /)
Return self>=value.
- __getitem__(self, arg: int, /) pyarts.arts.Vector2
- __getitem__(self, arg: slice, /) pyarts.arts.ArrayOfVector2
- __gt__(value, /)
Return self>value.
- __hash__()
Return hash(self).
- __iter__(self) collections.abc.Iterator[pyarts.arts.Vector2]
- __le__(value, /)
Return self<=value.
- __lt__(value, /)
Return self<value.
- __setitem__(self, arg0: int, arg1: pyarts.arts.Vector2, /) None
- __setitem__(self, arg0: slice, arg1: pyarts.arts.ArrayOfVector2, /) None