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_decimated_3_bands(cube, trf)[source]¶
Flatten the decomposition coefficients from a ‘cube’ to a vector. ‘flatten_decimated_3_bands’ concern the ‘cube’ where it’s actually a 2d-array like the classic wavelet 2d-transform of 3 bands.
- Parameters
cube : np.ndarray, the cube that containes the decomposition
coefficients.
- Returns
data : np.ndarray, the flatten ‘cube’.
Follow us