Skip to content
Snippets Groups Projects
Unverified Commit 9cafba41 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Fix dwell time conversion

parent 1320e408
No related branches found
No related tags found
1 merge request!3Add InstantPulse and InstantGradient pulseq extension support
......@@ -155,7 +155,7 @@ function PulseqBlock(block::BaseBuildingBlock; BlockDurationRaster, AdcRasterTim
end
adc = PulseqADC(
variables.nsamples(gen),
div(variables.dwell_time(gen), AdcRasterTime, RoundNearest),
div(variables.dwell_time(gen) * 1e-3, AdcRasterTime, RoundNearest),
Int(div(start_time(block, key), 1e-3, RoundNearest)),
0., 0.
)
......
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