scipy.sparse
csr_matrix.
diagonal
Returns the main diagonal of the matrix
scipy.sparse.csr_matrix.deg2rad
scipy.sparse.csr_matrix.dot