dem_reg_map#
- demregpy.dem_reg_map(sigmaa, sigmab, U, W, data, err, reg_tweak, nmu=500)[source]#
Select the regularization parameter from a GSVD solution.
- Parameters:
sigmaa (array_like) – GSVD
alphasingular values.sigmab (array_like) – GSVD
betasingular values.U (ndarray) – GSVD
Umatrix.W (ndarray) – GSVD
Wmatrix. Unused.data (array_like) – Data vector in the weighted space used by the inversion.
err (array_like) – Uncertainty vector corresponding to
data.reg_tweak (float) – Target chi-squared scaling used when choosing the regularization parameter.
nmu (int, optional) – Number of candidate regularization parameters to sample.
- Returns:
Selected regularization parameter.
- Return type: