Skip to content

Commit

Permalink
Update osp_LoadTwix.m
Browse files Browse the repository at this point in the history
Fixes TWIX coil combination procedure in case no water reference is provided.
  • Loading branch information
schorschinho committed Apr 28, 2022
1 parent 0bd363c commit 4eef5c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions load/osp_LoadTwix.m
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
raw_ref = io_loadspec_twix(MRSCont.files_ref{ref_ll,kk});
raw_ref = op_leftshift(raw_ref,raw_ref.pointsToLeftshift);
MRSCont.raw_ref_uncomb{ref_ll,kk} = raw_ref;
else
ref_ll = 1;
end
if MRSCont.flags.hasWater
w_ll = MRSCont.opts.MultipleSpectra.w(ll);
Expand Down

0 comments on commit 4eef5c3

Please sign in to comment.