ArrayOfIndex
- class pyarts.arts.ArrayOfIndex
A list of
Index
Workspace methods that can generate ArrayOfIndex
Workspace methods that require ArrayOfIndex
Workspace variables of type ArrayOfIndex
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.ArrayOfIndex, val: pyarts.arts.ArrayOfIndex) -> None
Copy instance
__init__(self: pyarts.arts.ArrayOfIndex, wsv: pyarts.arts.WorkspaceVariable) -> None
Automatic conversion from a workspace variable
__init__(self: pyarts.arts.ArrayOfIndex) -> None
Empty array
__init__(self: pyarts.arts.ArrayOfIndex, size: int, cval: int) -> None
Sized same-value array
__init__(self: pyarts.arts.ArrayOfIndex, arr: List[int]) -> None
Array from
list
Methods
__init__
(*args, **kwargs)Overloaded function.
append
(self, arg0)Appends a
Index
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
flatten
(self)As for
numpy.ndarray
fromxml
(file)Create
ArrayOfIndex
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
Index
from the arrayreadxml
(self, file)Read
ArrayOfIndex
from filereverse
(self)Reverse order of array
savexml
(self, file[, type, clobber])Saves
ArrayOfIndex
to fileAttributes
As for
numpy.ndarray
As for
numpy.ndarray
As for
numpy.ndarray
As for
numpy.ndarray
Operate on type as if
numpy.ndarray
type