Skip to content

Commit

Permalink
Update KomaMRIFiles/src/Sequence/WritePulseq.jl
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
beorostica and github-actions[bot] authored Apr 11, 2024
1 parent e811d18 commit 98f87db
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions KomaMRIFiles/src/Sequence/WritePulseq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,15 @@ function write_seq(seq::Sequence, filename)
end
end
end
delay_compensation_rf_koma = (ioamptdfh[6] == 0) * seq.DEF["RadiofrequencyRasterTime"] / 2
ioamptdfh[7] = round((obj.delay - delay_compensation_rf_koma) / seq.DEF["RadiofrequencyRasterTime"]) * seq.DEF["RadiofrequencyRasterTime"] * 1e6
delay_compensation_rf_koma =
(ioamptdfh[6] == 0) * seq.DEF["RadiofrequencyRasterTime"] / 2
ioamptdfh[7] =
round(
(obj.delay - delay_compensation_rf_koma) /
seq.DEF["RadiofrequencyRasterTime"],
) *
seq.DEF["RadiofrequencyRasterTime"] *
1e6
end

# Define the table to be written for the [GRADIENTS] section
Expand Down

0 comments on commit 98f87db

Please sign in to comment.