Skip to content

Commit

Permalink
bugfix for RawAcquisitionData
Browse files Browse the repository at this point in the history
  • Loading branch information
migrosser committed Apr 14, 2021
1 parent 2cdcd51 commit ff6b0f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Datatypes/RawAcqData.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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, :])
Expand Down

0 comments on commit ff6b0f5

Please sign in to comment.