ArrayOfVector
- class pyarts.arts.ArrayOfVector
A list of
Vector
It aims to be compatible with
list
ofVector
Workspace methods that can generate ArrayOfVector
Workspace methods that require ArrayOfVector
Workspace variables of type ArrayOfVector
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.ArrayOfVector) -> None
Empty array
__init__(self: pyarts.arts.ArrayOfVector, size: int, cval: pyarts.arts.Vector) -> None
Sized same-value array
__init__(self: pyarts.arts.ArrayOfVector, arr: List[pyarts.arts.Vector]) -> None
Array from
list
__init__(self: pyarts.arts.ArrayOfVector, val: pyarts.arts.ArrayOfVector) -> None
Copy instance
__init__(self: pyarts.arts.ArrayOfVector, wsv: pyarts.arts.WorkspaceVariable) -> None
Automatic conversion from a workspace variable
Methods
__init__
(*args, **kwargs)Overloaded function.
append
(self, arg0)Appends a
Vector
at the end of the arrayclear
(self)Empty the array of all values
copy
(self)Copy the array
extend
(self, arg0)Extend the array by another array
fromxml
(file)Create
ArrayOfVector
from fileindex
(self, arg0)Returns the first index of a value
insert
(self, arg0, arg1)Insert a value into the array
pop
(self[, i])Pops a
Vector
from the arrayreadxml
(self, file)Read
ArrayOfVector
from filereverse
(self)Reverse order of array
savexml
(self, file[, type, clobber])Saves
ArrayOfVector
to file