spyrit.misc.walsh_hadamard.sequency_perm

spyrit.misc.walsh_hadamard.sequency_perm(X, ind=None)[source]

Permute the rows of a matrix to get sequency order

Args:

X (np.ndarray): n-by-m input matrix

ind : index list of length n

Returns:

np.ndarray: n-by-m input matrix