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

Remove passing on multiple sequences to edge_times

This was confusing for sequences with different TR's
parent 3e7453b4
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ Return the times of all of the readout events in ms.
function readout_times end
"""
edge_times(container(s))
edge_times(container)
Returns all the edge times during a sequence in ms.
......@@ -62,10 +62,8 @@ Edges are defined as any time, when:
- the edge of a building block
- the slope of the gradient profile changes suddenly
- an RF pulse starts or ends
Multiple sequences can be passed on. In that case the edges in all sequences are returned (in a sorted vector).
"""
edge_times(containers::AbstractVector{<:ContainerBlock}) = sort(unique(vcat(edge_times.(containers))))
function edge_times end
"""
gradient_strength(sequence, time)
......
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