From c754388c8cc66be3339e5151b08a27b612e78a33 Mon Sep 17 00:00:00 2001 From: Carlos Castillo Passi Date: Tue, 9 Apr 2024 15:14:28 -0400 Subject: [PATCH] Update KomaMRIPlots/src/ui/DisplayFunctions.jl Julia formatter Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- KomaMRIPlots/src/ui/DisplayFunctions.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/KomaMRIPlots/src/ui/DisplayFunctions.jl b/KomaMRIPlots/src/ui/DisplayFunctions.jl index 2f0f7b585..9a1a1a66e 100644 --- a/KomaMRIPlots/src/ui/DisplayFunctions.jl +++ b/KomaMRIPlots/src/ui/DisplayFunctions.jl @@ -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)",