Skip to content

Commit

Permalink
change default for wantshrinkage to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
Kendrick Kay committed Apr 28, 2024
1 parent 85e6d10 commit e8d5bd1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions matlab/performgsn.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
% <opt> (optional) is a struct with the following optional fields:
% <wantverbose> (optional) is whether to print status statements. Default: 1.
% <wantshrinkage> (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).
%
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit e8d5bd1

Please sign in to comment.