Skip to content
Snippets Groups Projects
Verified Commit 6ddc0007 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Set all slice_thickness dimensions

parent 2f9ccc76
No related branches found
No related tags found
No related merge requests found
......@@ -46,7 +46,8 @@ function excitation_pulse(; flip_angle=90, phase=0., frequency=0., shape=:sinc,
if isinf(min_slice_thickness)
return pulse
end
grad = TrapezoidGradient(pulse=pulse, rise_time=:min, slice_thickness=min_slice_thickness, orientation=[0, 0, 1.], rotate=rotate_grad)
grad = TrapezoidGradient(pulse=pulse, rise_time=:min, slice_thickness=[Inf, Inf, min_slice_thickness], orientation=[0, 0, 1.], rotate=rotate_grad)
if !rephase
return grad
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