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