ArrayOfMatrix
- class pyarts.arts.ArrayOfMatrix
A list of
Matrix
It aims to be compatible with
list
ofMatrix
Workspace methods that can generate ArrayOfMatrix
Workspace methods that require ArrayOfMatrix
Workspace variables of type ArrayOfMatrix
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.ArrayOfMatrix) -> None
Empty array
__init__(self: pyarts.arts.ArrayOfMatrix, size: int, cval: pyarts.arts.Matrix) -> None
Sized same-value array
__init__(self: pyarts.arts.ArrayOfMatrix, arr: List[pyarts.arts.Matrix]) -> None
Array from
list
__init__(self: pyarts.arts.ArrayOfMatrix, val: pyarts.arts.ArrayOfMatrix) -> None
Copy instance
__init__(self: pyarts.arts.ArrayOfMatrix, wsv: pyarts.arts.WorkspaceVariable) -> None
Automatic conversion from a workspace variable
Methods
__init__
(*args, **kwargs)Overloaded function.
append
(self, arg0)Appends a
Matrix
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
ArrayOfMatrix
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
Matrix
from the arrayreadxml
(self, file)Read
ArrayOfMatrix
from filereverse
(self)Reverse order of array
savexml
(self, file[, type, clobber])Saves
ArrayOfMatrix
to file