From 4eef5c33894e1143b7805f418770071c9a584922 Mon Sep 17 00:00:00 2001 From: Georg Oeltzschner Date: Thu, 28 Apr 2022 12:14:51 -0400 Subject: [PATCH] Update osp_LoadTwix.m Fixes TWIX coil combination procedure in case no water reference is provided. --- load/osp_LoadTwix.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/load/osp_LoadTwix.m b/load/osp_LoadTwix.m index c5a40f69..94f328be 100644 --- a/load/osp_LoadTwix.m +++ b/load/osp_LoadTwix.m @@ -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);