From e8d5bd108a23c0ae2e0276e4318111079e9e2889 Mon Sep 17 00:00:00 2001 From: Kendrick Kay Date: Sun, 28 Apr 2024 10:30:45 -0500 Subject: [PATCH] change default for wantshrinkage to 1 --- matlab/performgsn.m | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/matlab/performgsn.m b/matlab/performgsn.m index fe6e0a5..d22dd29 100644 --- a/matlab/performgsn.m +++ b/matlab/performgsn.m @@ -8,7 +8,7 @@ % (optional) is a struct with the following optional fields: % (optional) is whether to print status statements. Default: 1. % (optional) is whether to use shrinkage in the estimation -% of covariance. Default: 0. +% of covariance. Default: 1. % % Perform GSN (generative modeling of signal and noise). % @@ -30,6 +30,7 @@ % rectification (to prevent non-sensical negative ncsnr values). % % History: +% - 2024/04/28 - change default for wantshrinkage to 1. % - 2024/01/05 - (1) major change to use the biconvex optimization procedure -- % we now have cSb and cNb as the final estimates; % (2) cSb no longer has the scaling baked in and instead we @@ -48,7 +49,7 @@ opt.wantverbose = 1; end if ~isfield(opt,'wantshrinkage') || isempty(opt.wantshrinkage) - opt.wantshrinkage = 0; + opt.wantshrinkage = 1; end % prepare opt for rsanoiseceiling.m