Sparse
- class pyarts.arts.Sparse
A sparse version of
MatrixWorkspace 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
Sparsefrom filereadxml(self, file)Read
Sparsefrom filesavexml(self, file[, type, clobber])Saves
Sparseto filetoarray(self)Make a dense
numpy.ndarrayfrom the sparse matrixAttributes
Treat as
scipy.sparse.csr_matrix