Python Sparse data Analysis Package
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.
- pysap.extensions.formating.flatten_vector(cube, trf)[source]¶
Flatten the decomposition coefficients from a ‘cube’ to a vector. ‘flatten_vector’ concern the ‘curvelet-cube’ where it’s already a vector.
- Parameters
cube : np.ndarray, the cube that containes the decomposition
coefficients.
- Returns
data : np.ndarray, the flatten ‘cube’.
Follow us