From ff6b0f5238a180edd0dfce9ba53fdb3644053b9d Mon Sep 17 00:00:00 2001 From: migrosser Date: Wed, 14 Apr 2021 11:08:30 +0200 Subject: [PATCH] bugfix for RawAcquisitionData --- src/Datatypes/RawAcqData.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Datatypes/RawAcqData.jl b/src/Datatypes/RawAcqData.jl index 2b09101a..856f9c7b 100644 --- a/src/Datatypes/RawAcqData.jl +++ b/src/Datatypes/RawAcqData.jl @@ -212,7 +212,7 @@ function rawdata(f::RawAcquisitionData; slice::Int=1, contrast::Int=1, repetitio # store one profile (kspace data) for each unique encoding status cnt = 1 - for l in idx_unique # TODO: set of profiles (with unique encoding status) + for l in idx[idx_unique] # TODO: set of profiles (with unique encoding status) i1 = f.profiles[l].head.discard_pre + 1 i2 = i1+numSampPerProfile-1 kdata[:,cnt,:] .= ComplexF64.(f.profiles[l].data[i1:i2, :])