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.

  1. __init__(self: pyarts.arts.Sparse) -> None

Empty sparse

  1. __init__(self: pyarts.arts.Sparse, arg0: scipy.sparse.csr_matrix[numpy.float64]) -> None

From scipy.sparse.csr_matrix

  1. __init__(self: pyarts.arts.Sparse, val: pyarts.arts.Sparse) -> None

Copy instance

  1. __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 file

readxml(self, file)

Read Sparse from file

savexml(self, file[, type, clobber])

Saves Sparse to file

toarray(self)

Make a dense numpy.ndarray from the sparse matrix

Attributes

value

Treat as scipy.sparse.csr_matrix