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