Sparse matrices: the matrix module¶
-
astra.matrix.create(data)[source]¶ Create matrix object with data.
Parameters: data ( scipy.sparse.csr_matrix) – Data to fill the created object with.Returns: int– the ID of the constructed object.
-
astra.matrix.delete(ids)[source]¶ Delete a matrix object.
Parameters: ids ( intorlist) – ID or list of ID’s to delete.
-
astra.matrix.get(i)[source]¶ Get a matrix object.
Parameters: i ( int) – ID of object to get.Returns: scipy.sparse.csr_matrix– The object data.