Sparse
- class pyarts.arts.Sparse
A sparse version of
Matrix
Workspace methods that can generate Sparse
Workspace methods that require Sparse
Workspace variables of type Sparse
- __init__(*args, **kwargs)
Overloaded function.
__init__(self: pyarts.arts.Sparse) -> None
Empty sparse
__init__(self: pyarts.arts.Sparse, arg0: scipy.sparse.csr_matrix[numpy.float64]) -> None
__init__(self: pyarts.arts.Sparse, val: pyarts.arts.Sparse) -> None
Copy instance
__init__(self: pyarts.arts.Sparse, wsv: pyarts.arts.WorkspaceVariable) -> None
Automatic conversion from a workspace variable
Methods
__init__
(*args, **kwargs)Overloaded function.
fromxml
(file)Create
Sparse
from filereadxml
(self, file)Read
Sparse
from filesavexml
(self, file[, type, clobber])Saves
Sparse
to filetoarray
(self)Make a dense
numpy.ndarray
from the sparse matrixAttributes
Treat as
scipy.sparse.csr_matrix