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

Multiply RF time shape with Gradient raster time

parent f095a94f
No related branches found
No related tags found
1 merge request!1Add writing to Pulseq files
......@@ -29,7 +29,7 @@ function BuildingBlock(pulseq::PulseqBlock; version, BlockDurationRaster, Radiof
time = ((1:length(pulseq.rf.magnitude.samples)) .- 0.5) .* RadiofrequencyRasterTime .* 1e3
rf_dur = length(pulseq.rf.magnitude.samples) * RadiofrequencyRasterTime * 1e3
else
time = pulseq.rf.time.samples .* 1e3
time = pulseq.rf.time.samples .* 1e3 * RadiofrequencyRasterTime
rf_dur = maximum(time)
end
push!(events, (
......
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