Menu

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_1_bands(cube, trf)[source]

Flatten the decomposition coefficients from a ‘cube’ to a vector. ‘flatten_decimated_1_bands’ concern the ‘cube’ where it’s actually a 2d-array like the classic wavelet 2d-transform of 1 bands. It has the same formating than the 3 bands but the ‘v’ and ‘h’ bands or set to 0.

Parameters

cube : np.ndarray, the cube that containes the decomposition

coefficients.

Returns

data : np.ndarray, the flatten ‘cube’.

Follow us

© 2019, Antoine Grigis Samuel Farrens Jean-Luc Starck Philippe Ciuciu