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

Fix end_time calculation for delayed RF pulses

parent f519acb2
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ Also see [`duration`](@ref), [`start_time`](@ref), and [`effective_time`](@ref) ...@@ -32,7 +32,7 @@ Also see [`duration`](@ref), [`start_time`](@ref), and [`effective_time`](@ref)
""" """
end_time(container::ContainerBlock, index, indices...) = start_time(container, index) + end_time(container[index], indices...) end_time(container::ContainerBlock, index, indices...) = start_time(container, index) + end_time(container[index], indices...)
end_time(block::AbstractBlock) = duration(block) end_time(block::AbstractBlock) = duration(block)
end_time(block::Tuple{<:VariableType, <:AbstractBlock}) = block[1] + end_time(block[2]) end_time(block::Tuple{<:VariableType, <:AbstractBlock}) = duration(block[2])
""" """
effective_time(container, indices...) effective_time(container, indices...)
......
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