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

Print slew rate for trapezoid

parent 2156cdc4
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ qvec(g::TrapezoidGradient, ::Nothing, ::Nothing) = δ(g) .* gradient_strength(g)
inverse_slice_thickness(g::TrapezoidGradient) = isnothing(g.pulse) ? nothing : inverse_bandwidth(g) .* gradient_strength(g) .* 1000
function variables(tg::TrapezoidGradient)
list = [qvec, δ, gradient_strength, duration, rise_time, flat_time]
list = [slew_rate, qvec, δ, gradient_strength, duration, rise_time, flat_time]
if !isnothing(tg.pulse)
push!(list, inverse_slice_thickness)
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