Tensor5
- class pyarts.arts.Tensor5
A 5 dimensional array of
Numeric
This 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 Tensor5
Workspace methods that require Tensor5
Workspace variables of type Tensor5
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.Tensor5) -> None
Default tensor
__init__(self: pyarts.arts.Tensor5, ten5: List[List[List[List[List[Union[float, int]]]]]]) -> None
From
list
equivalent__init__(self: pyarts.arts.Tensor5, val: pyarts.arts.Tensor5) -> None
Copy instance
__init__(self: pyarts.arts.Tensor5, wsv: pyarts.arts.WorkspaceVariable) -> None
Automatic conversion from a workspace variable
Methods
__init__
(*args, **kwargs)Overloaded function.
flatten
(self)As for
numpy.ndarray
fromxml
(file)Create
Tensor5
from filereadxml
(self, file)Read
Tensor5
from filesavexml
(self, file[, type, clobber])Saves
Tensor5
to fileAttributes
As for
numpy.ndarray
As for
numpy.ndarray
As for
numpy.ndarray
As for
numpy.ndarray
ndarray
Data array