iw.reconstruction¶
operateur_reconstruction_one_step¶
-
iw.reconstruction.operateur_reconstruction_one_step.
operateur_reconstruction_one_step
()¶ operateur_reconstruction_one_step function build operator for reconstruction
Inputs:
- Parameters
L (1d double array) – L is the laplacien matrix
row_L (1d int_ array) – row array of sparse matrix L
col_L (1d int_ array) – column array of sparse matrix L
shape_L (int) – shape of L matrix
Lbarre (1d double array) – Lbarre matrix
row_Lbarre (1d int_ array) – row array of sparse matrix Lbarre
col_Lbarre (1d int_ array) – column array of sparse matrix Lbarre
shape_Lbarre (int) – shape of Lbarre matrix
GXbarrebr (1d double array) – GXbarrebr matrix
row_GXbarrebr (1d int_ array) – row array of sparse matrix GXbarrebr
col_GXbarrebr (1d int_ array) – column array of sparse matrix GXbarrebr
shape_GXbarrebr (int) – shape of GXbarrebr matrix
Xbarre (1d int_ array) – vector of indices corresponding to approximation indices
qprime (double) – qprime value
Output:
- Returns
tuple of (Rbarre, Rbarre_row, Rbarre_col, Rbarre_shape0, Rbarre_shape1, Rbreve, Rbreve_row, Rbreve_col, Rbreve_shape0, Rbreve_shape1) where Rbarre_matrix are rectangular matrix for approximation operator and Rbreve_matrix for details returned in sparse format
- Return type
tuple 9 arrays
tab_reconstruction_multires¶
-
iw.reconstruction.tab_reconstruction_multires.
tab_reconstruction_multires
()¶ tab_reconstruction_multires function computes the reconstruction of the signal f from their coefficients coeffs
Inputs:
- Parameters
coeffs (1d array of double) – array of coefficients coefficients
Struct_Mana_re (1d array of
iw.multiresolution.struct_multires_Lbarre.Struct_M_ana_recons
) – array ofiw.multiresolution.struct_multires_Lbarre.Struct_M_ana_recons
class fromiw.multiresolution.struct_multires_Lbarre.Tab_Struct_multires_Lbarre.Struct_Mana_re
, containing different fields of reconstruction matrix decompositionsteps (int) – numbers of element present in Struct_Mana_re
Output:
- Returns
double array fbarre reconstruction from the different steps of Struct_Mana_re and coeffs
- Return type
1d array of double
tab_compute_multires_coeffs_sparse¶
-
iw.reconstruction.tab_compute_multires_coeffs_sparse.
tab_compute_multires_coeffs_sparse
()¶ Function tab_compute_multires_coeffs_sparse, computes the sequence of approximation and detail coefficients given the sequence of subgraphs on which the multiresolution is to be computed.
Inputs:
- Parameters
f (1d double array) – f is the signal vector
Struct_Mana_re (1d array of
iw.multiresolution.struct_multires_Lbarre.Struct_M_ana_recons
) – array ofiw.multiresolution.struct_multires_Lbarre.Struct_M_ana_recons
class containing reconstruction matrix fromiw.multiresolution.struct_multires_Lbarre.Tab_Struct_multires_Lbarre.Struct_Mana_re
steps (int) – number of multiresolution steps
Output:
- Returns
tuple of (coeffs, suite_taille) where coeffs are the coefficients array decomposition of the signal
- Return type
tuple of one 1d array of double and one 1d array of int