Matrix
- class pyarts.arts.Matrix
A 2 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 Matrix
Workspace methods that require Matrix
Workspace variables of type Matrix
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.Matrix) -> None
Default matrix
__init__(self: pyarts.arts.Matrix, mat: List[List[Union[float, int]]]) -> None
From
list
equivalent__init__(self: pyarts.arts.Matrix, val: pyarts.arts.Matrix) -> None
Copy instance
__init__(self: pyarts.arts.Matrix, 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
Matrix
from filereadxml
(self, file)Read
Matrix
from filesavexml
(self, file[, type, clobber])Saves
Matrix
to fileAttributes
Non-trivial transpose
As for
numpy.ndarray
As for
numpy.ndarray
As for
numpy.ndarray
As for
numpy.ndarray
ndarray
Data array