Skip to content

Commit

Permalink
Update KomaMRIPlots/src/ui/DisplayFunctions.jl
Browse files Browse the repository at this point in the history
Julia formatter

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
cncastillo and github-actions[bot] authored Apr 9, 2024
1 parent 7ef8d53 commit c754388
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions KomaMRIPlots/src/ui/DisplayFunctions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -214,9 +214,9 @@ function plot_seq(

# For RFs
frf = is_RF_on(seq) ? 1.0 : Inf
for j in 1:O
rf_amp = abs.(rf.A[:,j])
rf_phase = angle.(rf.A[:,j])
for j in 1:O
rf_amp = abs.(rf.A[:, j])
rf_phase = angle.(rf.A[:, j])
rf_phase[rf_amp .== Inf] .= Inf # Avoid weird jumps
# Plot RF
p[2j-1+3] = scatter_fun(x=rf.t*1e3, y=rf_amp*1e6*frf, name="|B1|_AM", hovertemplate="(%{x:.4f} ms, %{y:.2f} μT)",
Expand Down

0 comments on commit c754388

Please sign in to comment.