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

Flatten the decomposition coefficients from a ‘cube’ to a vector. ‘flatten_undecimated_n_bands’ concern the ‘cube’ where each layer correspond to a undecimated band. We can have multiple bands per scale, which lead to nb_scale * nb_band_per_scale for one dimension.

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