Skip to content

Commit

Permalink
Try putting -t_seq inside array
Browse files Browse the repository at this point in the history
  • Loading branch information
rkierulf committed Jul 11, 2024
1 parent 7df32aa commit c19c75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function run_spin_precession!(

#Acquired Signal
if seq_idx <= length(seq.ADC) && any(seq.ADC[seq_idx,:])
Mxy .= M.xy .* exp.(-t_seq ./ p.T2) .* (cos.(ϕ) .+ im * sin.(ϕ))
Mxy .= M.xy .* exp.([-t_seq] ./ p.T2) .* (cos.(ϕ) .+ im * sin.(ϕ))
sig[ADC_idx] = sum(Mxy)
ADC_idx += 1
end
Expand Down

0 comments on commit c19c75e

Please sign in to comment.