Tensor3
- class pyarts.arts.Tensor3
A 3 dimensional array of
NumericThis class is mostly compatible with numpy arrays including numpy math. The data can be accessed without copy using
np.array(x, copy=False)or via x.valueWorkspace methods that can generate Tensor3
Workspace methods that require Tensor3
Workspace variables of type Tensor3
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.Tensor3) -> None
Default tensor
__init__(self: pyarts.arts.Tensor3, ten3: List[List[List[Union[float, int]]]]) -> None
From
listequivalent__init__(self: pyarts.arts.Tensor3, val: pyarts.arts.Tensor3) -> None
Copy instance
__init__(self: pyarts.arts.Tensor3, wsv: pyarts.arts.WorkspaceVariable) -> None
Automatic conversion from a workspace variable
Methods
__init__(*args, **kwargs)Overloaded function.
flatten(self)As for
numpy.ndarrayfromxml(file)Create
Tensor3from filereadxml(self, file)Read
Tensor3from filesavexml(self, file[, type, clobber])Saves
Tensor3to fileAttributes
As for
numpy.ndarrayAs for
numpy.ndarrayAs for
numpy.ndarrayAs for
numpy.ndarrayndarrayData array