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

Mix interruption timing

parent 46fa2c08
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ function SingleLine(; rotate=:FOV, orientation=[1, 0, 0], ramp_overlap=1., resol ...@@ -49,7 +49,7 @@ function SingleLine(; rotate=:FOV, orientation=[1, 0, 0], ramp_overlap=1., resol
end end
waveform(sl::SingleLine) = waveform(sl.grad) waveform(sl::SingleLine) = waveform(sl.grad)
interruptions(sl::SingleLine) = [(index=2, time=effective_time(sl.adc), object=sl.adc)] interruptions(sl::SingleLine) = [(index=2, time=effective_time(sl.adc) - rise_time(sl.grad), object=sl.adc)]
ramp_overlap(sl::SingleLine) = sl.ramp_overlap ramp_overlap(sl::SingleLine) = sl.ramp_overlap
effective_time(sl::SingleLine) = (1. - ramp_overlap(sl)) * rise_time(sl.grad) + effective_time(sl.adc) effective_time(sl::SingleLine) = (1. - ramp_overlap(sl)) * rise_time(sl.grad) + effective_time(sl.adc)
......
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