Skip to content
Snippets Groups Projects
Unverified Commit 98cc9c9a authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix getting qvec for gradient

parent 7e18e7c6
No related branches found
No related tags found
1 merge request!3Add InstantPulse and InstantGradient pulseq extension support
......@@ -177,7 +177,7 @@ function SequenceDiagram(bbb::BaseBuildingBlock)
kwargs[:G] = SinglePlotLine([0., variables.duration(bbb)], [0., 0.], [delay], [event.qval])
elseif event isa InstantGradient3D
for (index, symbol) in enumerate([:Gx, :Gy, :Gz])
kwargs[symbol] = SinglePlotLine([0., variables.duration(bbb)], [0., 0.], [delay], [event.qval[index]])
kwargs[symbol] = SinglePlotLine([0., variables.duration(bbb)], [0., 0.], [delay], [event.qvec[index]])
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment