Skip to content

Motion Phantom

Motion Phantom #7

Triggered via pull request April 10, 2024 07:54
Status Failure
Total duration 1m 12s
Artifacts

FormatCheck.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
code-style
Process completed with exit code 1.
code-style: KomaMRIBase/test/runtests.jl#L366
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRIBase/test/runtests.jl:366:- x = [-2e-3; -1e-3; 0.; 1e-3; 2e-3] KomaMRIBase/test/runtests.jl:367:- y = [-4e-3; -2e-3; 0.; 2e-3; 4e-3] KomaMRIBase/test/runtests.jl:368:- z = [-6e-3; -3e-3; 0.; 3e-3; 6e-3] KomaMRIBase/test/runtests.jl:369:- ρ = [.2; .4; .6; .8; 1.] KomaMRIBase/test/runtests.jl:370:- T1 = [.9; .9; .5; .25; .4] KomaMRIBase/test/runtests.jl:371:- T2 = [.09; .05; .04; .07; .005] KomaMRIBase/test/runtests.jl:372:- T2s = [.1; .06; .05; .08; .015] KomaMRIBase/test/runtests.jl:373:- Δw = [-2e-6; -1e-6; 0.; 1e-6; 2e-6] KomaMRIBase/test/runtests.jl:374:- Dλ1 = [-4e-6; -2e-6; 0.; 2e-6; 4e-6] KomaMRIBase/test/runtests.jl:375:- Dλ2 = [-6e-6; -3e-6; 0.; 3e-6; 6e-6] KomaMRIBase/test/runtests.jl:376:- Dθ = [-8e-6; -4e-6; 0.; 4e-6; 8e-6] KomaMRIBase/test/runtests.jl:377:- obj = Phantom(name=name, x=x, y=y, z=z, ρ=ρ, T1=T1, T2=T2, T2s=T2s, Δw=Δw, Dλ1=Dλ1, Dλ2=Dλ2, Dθ=Dθ) KomaMRIBase/test/runtests.jl:378:- obj2 = Phantom(name=name, x=x, y=y, z=z, ρ=ρ, T1=T1, T2=T2, T2s=T2s, Δw=Δw, Dλ1=Dλ1, Dλ2=Dλ2, Dθ=Dθ) KomaMRIBase/test/runtests.jl:408:+ x = [-2e-3; -1e-3; 0.0; 1e-3; 2e-3] KomaMRIBase/test/runtests.jl:409:+ y = [-4e-3; -2e-3; 0.0; 2e-3; 4e-3] KomaMRIBase/test/runtests.jl:410:+ z = [-6e-3; -3e-3; 0.0; 3e-3; 6e-3] KomaMRIBase/test/runtests.jl:411:+ ρ = [0.2; 0.4; 0.6; 0.8; 1.0] KomaMRIBase/test/runtests.jl:412:+ T1 = [0.9; 0.9; 0.5; 0.25; 0.4] KomaMRIBase/test/runtests.jl:413:+ T2 = [0.09; 0.05; 0.04; 0.07; 0.005] KomaMRIBase/test/runtests.jl:414:+ T2s = [0.1; 0.06; 0.05; 0.08; 0.015] KomaMRIBase/test/runtests.jl:415:+ Δw = [-2e-6; -1e-6; 0.0; 1e-6; 2e-6] KomaMRIBase/test/runtests.jl:416:+ Dλ1 = [-4e-6; -2e-6; 0.0; 2e-6; 4e-6] KomaMRIBase/test/runtests.jl:417:+ Dλ2 = [-6e-6; -3e-6; 0.0; 3e-6; 6e-6] KomaMRIBase/test/runtests.jl:418:+ Dθ = [-8e-6; -4e-6; 0.0; 4e-6; 8e-6] KomaMRIBase/test/runtests.jl:419:+ obj = Phantom(; KomaMRIBase/test/runtests.jl:420:+ name=name, x=x, y=y, z=z, ρ=ρ, T1=T1, T2=T2, T2s=T2s, Δw=Δw, Dλ1=Dλ1, Dλ2=Dλ2, Dθ=Dθ KomaMRIBase/test/runtests.jl:421:+ ) KomaMRIBase/test/runtests.jl:422:+ obj2 = Phantom(; KomaMRIBase/test/runtests.jl:423:+ name=name, x=x, y=y, z=z, ρ=ρ, T1=T1, T2=T2, T2s=T2s, Δw=Δw, Dλ1=Dλ1, Dλ2=Dλ2, Dθ=Dθ KomaMRIBase/test/runtests.jl:424:+ )
code-style: KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl#L30
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:30:-function run_spin_precession!(p::Phantom{T}, seq::DiscreteSequence{T}, sig::AbstractArray{Complex{T}}, KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:31:- M::Mag{T}, sim_method::BlochDict) where {T<:Real} KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:32:+function run_spin_precession!( KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:33:+ p::Phantom{T}, KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:34:+ seq::DiscreteSequence{T}, KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:35:+ sig::AbstractArray{Complex{T}}, KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:36:+ M::Mag{T}, KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:37:+ sim_method::BlochDict, KomaMRICore/src/simulation/Bloch/BlochDictSimulationMethod.jl:38:+) where {T<:Real}
code-style: KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl#L36
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:36:-function run_spin_precession!(p::Phantom{T}, seq::DiscreteSequence{T}, sig::AbstractArray{Complex{T}}, KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:37:- M::Mag{T}, sim_method::SimulationMethod) where {T<:Real} KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:40:+function run_spin_precession!( KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:41:+ p::Phantom{T}, KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:42:+ seq::DiscreteSequence{T}, KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:43:+ sig::AbstractArray{Complex{T}}, KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:44:+ M::Mag{T}, KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:45:+ sim_method::SimulationMethod, KomaMRICore/src/simulation/Bloch/BlochSimulationMethod.jl:46:+) where {T<:Real}
code-style: KomaMRIFiles/src/Phantom/JEMRIS.jl#L22
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRIFiles/src/Phantom/JEMRIS.jl:22:- # A(:,:,:,1)=Sample.M0; KomaMRIFiles/src/Phantom/JEMRIS.jl:23:- # I=find(Sample.T1); R1 =zeros(size(Sample.T1)); R1(I) =1./Sample.T1(I); KomaMRIFiles/src/Phantom/JEMRIS.jl:24:- # I=find(Sample.T2); R2 =zeros(size(Sample.T2)); R2(I) =1./Sample.T2(I); KomaMRIFiles/src/Phantom/JEMRIS.jl:25:- # I=find(Sample.T2S);R2S=zeros(size(Sample.T2S)); R2S(I)=1./Sample.T2S(I); KomaMRIFiles/src/Phantom/JEMRIS.jl:26:- # A(:,:,:,2)=R1; #1/T1 KomaMRIFiles/src/Phantom/JEMRIS.jl:27:- # A(:,:,:,3)=R2; #1/T2 KomaMRIFiles/src/Phantom/JEMRIS.jl:28:- # A(:,:,:,4)=R2S; #1/T2s KomaMRIFiles/src/Phantom/JEMRIS.jl:29:- # A(:,:,:,5)=Sample.DB; KomaMRIFiles/src/Phantom/JEMRIS.jl:30:- fid = HDF5.h5open(filename) KomaMRIFiles/src/Phantom/JEMRIS.jl:31:- data = read(fid["sample/data"]) KomaMRIFiles/src/Phantom/JEMRIS.jl:32:- Δx = read(fid["sample/resolution"]) * 1e-3 #[m] KomaMRIFiles/src/Phantom/JEMRIS.jl:33:- offset = read(fid["sample/offset"]) * 1e-3 #[m] KomaMRIFiles/src/Phantom/JEMRIS.jl:34:- mask = data[1,:,:,:] .!= 0 KomaMRIFiles/src/Phantom/JEMRIS.jl:35:- #Maps KomaMRIFiles/src/Phantom/JEMRIS.jl:36:- ρ = data[1,:,:,:] KomaMRIFiles/src/Phantom/JEMRIS.jl:37:- T1 = 1e-3 ./ data[2,:,:,:] KomaMRIFiles/src/Phantom/JEMRIS.jl:38:- T2 = 1e-3 ./ data[3,:,:,:] KomaMRIFiles/src/Phantom/JEMRIS.jl:39:- T2s = 1e-3 ./ data[4,:,:,:] KomaMRIFiles/src/Phantom/JEMRIS.jl:40:- Δw = data[5,:,:,:] KomaMRIFiles/src/Phantom/JEMRIS.jl:41:- #Positions KomaMRIFiles/src/Phantom/JEMRIS.jl:42:- X, Y, Z = size(ρ) KomaMRIFiles/src/Phantom/JEMRIS.jl:43:- FOVx = (X-1)*Δx[1] #[m] KomaMRIFiles/src/Phantom/JEMRIS.jl:44:- FOVy = (Y-1)*Δx[2] #[m] KomaMRIFiles/src/Phantom/JEMRIS.jl:45:- FOVz = (Z-1)*Δx[3] #[m] KomaMRIFiles/src/Phantom/JEMRIS.jl:46:- xx = reshape((-FOVx/2:Δx[1]:FOVx/2),:,1,1) #[(-FOVx/2:Δx[1]:FOVx/2)...;] KomaMRIFiles/src/Phantom/JEMRIS.jl:47:- yy = reshape((-FOVy/2:Δx[2]:FOVy/2),1,:,1) #[(-FOVy/2:Δx[2]:FOVy/2)...;;] KomaMRIFiles/src/Phantom/JEMRIS.jl:48:- zz = reshape((-FOVz/2:Δx[3]:FOVz/2),1,1,:) #[(-FOVz/2:Δx[3]:FOVz/2)...;;;] KomaMRIFiles/src/Phantom/JEMRIS.jl:49:- x = xx*1 .+ yy*0 .+ zz*0 .+ offset[1] #spin x coordinates KomaMRIFiles/src/Phantom/JEMRIS.jl:50:- y = xx*0 .+ yy*1 .+ zz*0 .+ offset[2] #spin y coordinates KomaMRIFiles/src/Phantom/JEMRIS.jl:51:- z = xx*0 .+ yy*0 .+ zz*1 .+ offset[3] #spin z coordinates KomaMRIFiles/src/Phantom/JEMRIS.jl:52:- v = 0 # m/s KomaMRIFiles/src/Phantom/JEMRIS.jl:22:+ # A(:,:,:,1)=Sample.M0; KomaMRIFiles/src/Phantom/JEMRIS.jl:23:+ # I=find(Sample.T1); R1 =zeros(size(Sample.T1)); R1(I) =1./Sample.T1(I); KomaMRIFiles/src/Phantom/JEMRIS.jl:24:+ # I=find(Sample.T2); R2 =zeros(size(Sample.T2)); R2(I) =1./Sample.T2(I); KomaMRIFiles/src/Phantom/JEMRIS.jl:25:+ # I=find(Sample.T2S);R2S=zeros(size(Sample.T2S)); R2S(I)=1./Sample.T2S(I); KomaMRIFiles/src/Phantom/JEMRIS.jl:26:+ # A(:,:,:,2)=R1; #1/T1 KomaMRIFiles/src/Phantom/JEMRIS.jl:27:+ # A(:,:,:,3)=R2; #1/T2 KomaMRIFiles/src/Phantom/JEMRIS.jl:28:+ # A(:,:,:,4)=R2S; #1/T2s KomaMRIFiles/src/Phantom/JEMRIS.jl:29:+ # A(:,:,:,5)=Sample.DB; KomaMRIFiles/src/Phantom/JEMRIS.jl:30:+ fid = HDF5.h5open(filename) KomaMRIFiles/src/Phantom/JEMRIS.jl:31:+ data = read(fid["sample/data"]) KomaMRIFiles/src/Phantom/JEMRIS.jl:32:+ Δx = read(fid["sample/resolution"]) * 1e-3 #[m] KomaMRIFiles/src/Phantom/JEMRIS.jl:33:+ offset = read(fid["sample/offset"]) * 1e-3 #[m] KomaMRIFiles/src/Phantom/JEMRIS.jl:34:+ mask = data[1, :, :, :] .!= 0 KomaMRIFiles/src/Phantom/JEMRIS.jl:35:+ #Maps KomaMRIFiles/src/Phantom/JEMRIS.jl:36:+ ρ = data[1, :, :, :] KomaMRIFiles/src/Phantom/JEMRIS.jl:37:+ T1 = 1e-3 ./ data[2, :, :, :] KomaMRIFiles/src/Phantom/JEMRIS.jl:38:+ T2 = 1e-3 ./ data[3, :, :, :] KomaMRIFiles/src/Phantom/JEMRIS.jl:39:+ T2s = 1e-3 ./ data[4, :, :, :] KomaMRIFiles/src/Phantom/JEMRIS.jl:40:+ Δw = data[5, :, :, :] KomaMRIFiles/src/Phantom/JEMRIS.jl:41:+ #Positions KomaMRIFiles/src/Phantom/JEMRIS.jl:42:+ X, Y, Z = size(ρ) KomaMRIFiles/src/Phantom/JEMRIS.jl:43
code-style: KomaMRIFiles/src/Phantom/MRiLab.jl#L48
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRIFiles/src/Phantom/MRiLab.jl:48:- # [((col+1)/2)*VOex.XDimRes; KomaMRIFiles/src/Phantom/MRiLab.jl:49:- # ((row+1)/2)*VOex.YDimRes ; KomaMRIFiles/src/Phantom/MRiLab.jl:50:- # ((layer+1)/2)*VOex.ZDimRes]; % Set matrix center as Object origin for motion simulation KomaMRIFiles/src/Phantom/MRiLab.jl:51:- xx = reshape((-FOVx/2:Δx[1]:FOVx/2),:,1,1) #[(-FOVx/2:Δx[1]:FOVx/2)...;] KomaMRIFiles/src/Phantom/MRiLab.jl:52:- yy = reshape((-FOVy/2:Δx[2]:FOVy/2),1,:,1) #[(-FOVy/2:Δx[2]:FOVy/2)...;;] KomaMRIFiles/src/Phantom/MRiLab.jl:53:- zz = reshape((-FOVz/2:Δx[3]:FOVz/2),1,1,:) #[(-FOVz/2:Δx[3]:FOVz/2)...;;;] KomaMRIFiles/src/Phantom/MRiLab.jl:54:- x = xx*1 .+ yy*0 .+ zz*0 .+ offset[1] #spin x coordinates KomaMRIFiles/src/Phantom/MRiLab.jl:55:- y = xx*0 .+ yy*1 .+ zz*0 .+ offset[2] #spin y coordinates KomaMRIFiles/src/Phantom/MRiLab.jl:56:- z = xx*0 .+ yy*0 .+ zz*1 .+ offset[3] #spin z coordinates KomaMRIFiles/src/Phantom/MRiLab.jl:57:- v = 0 # m/s KomaMRIFiles/src/Phantom/MRiLab.jl:48:+ # [((col+1)/2)*VOex.XDimRes; KomaMRIFiles/src/Phantom/MRiLab.jl:49:+ # ((row+1)/2)*VOex.YDimRes ; KomaMRIFiles/src/Phantom/MRiLab.jl:50:+ # ((layer+1)/2)*VOex.ZDimRes]; % Set matrix center as Object origin for motion simulation KomaMRIFiles/src/Phantom/MRiLab.jl:51:+ xx = reshape(((-FOVx / 2):Δx[1]:(FOVx / 2)), :, 1, 1) #[(-FOVx/2:Δx[1]:FOVx/2)...;] KomaMRIFiles/src/Phantom/MRiLab.jl:52:+ yy = reshape(((-FOVy / 2):Δx[2]:(FOVy / 2)), 1, :, 1) #[(-FOVy/2:Δx[2]:FOVy/2)...;;] KomaMRIFiles/src/Phantom/MRiLab.jl:53:+ zz = reshape(((-FOVz / 2):Δx[3]:(FOVz / 2)), 1, 1, :) #[(-FOVz/2:Δx[3]:FOVz/2)...;;;] KomaMRIFiles/src/Phantom/MRiLab.jl:54:+ x = xx * 1 .+ yy * 0 .+ zz * 0 .+ offset[1]#spin x coordinates KomaMRIFiles/src/Phantom/MRiLab.jl:55:+ y = xx * 0 .+ yy * 1 .+ zz * 0 .+ offset[2]#spin y coordinates KomaMRIFiles/src/Phantom/MRiLab.jl:56:+ z = xx * 0 .+ yy * 0 .+ zz * 1 .+ offset[3]#spin z coordinates KomaMRIFiles/src/Phantom/MRiLab.jl:57:+ v = 0 # m/s
code-style: KomaMRIPlots/src/ui/DisplayFunctions.jl#L707
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRIPlots/src/ui/DisplayFunctions.jl:707:- ph::Phantom, KomaMRIPlots/src/ui/DisplayFunctions.jl:708:- key::Symbol; KomaMRIPlots/src/ui/DisplayFunctions.jl:709:- height=700, KomaMRIPlots/src/ui/DisplayFunctions.jl:710:- width=nothing, KomaMRIPlots/src/ui/DisplayFunctions.jl:711:- darkmode=false, KomaMRIPlots/src/ui/DisplayFunctions.jl:712:- view_2d=false, KomaMRIPlots/src/ui/DisplayFunctions.jl:713:- colorbar=true, KomaMRIPlots/src/ui/DisplayFunctions.jl:714:- time_samples=0, KomaMRIPlots/src/ui/DisplayFunctions.jl:715:- kwargs... KomaMRIPlots/src/ui/DisplayFunctions.jl:716:- ) KomaMRIPlots/src/ui/DisplayFunctions.jl:717:- function interpolate_times(t) # Insert intermediate time points (as many as indicated by time_samples) KomaMRIPlots/src/ui/DisplayFunctions.jl:718:- for i in 1:length(t)-1 KomaMRIPlots/src/ui/DisplayFunctions.jl:719:- step = (t[i+1] - t[i]) / (time_samples + 1) KomaMRIPlots/src/ui/DisplayFunctions.jl:720:- for j in 1:time_samples KomaMRIPlots/src/ui/DisplayFunctions.jl:721:- push!(t, t[i] + j*step) KomaMRIPlots/src/ui/DisplayFunctions.jl:722:- end KomaMRIPlots/src/ui/DisplayFunctions.jl:723:- end KomaMRIPlots/src/ui/DisplayFunctions.jl:724:- sort!(t) KomaMRIPlots/src/ui/DisplayFunctions.jl:725:- end KomaMRIPlots/src/ui/DisplayFunctions.jl:726:- KomaMRIPlots/src/ui/DisplayFunctions.jl:727:- path = @__DIR__ KomaMRIPlots/src/ui/DisplayFunctions.jl:728:- cmin_key = minimum(getproperty(ph,key)) KomaMRIPlots/src/ui/DisplayFunctions.jl:729:- cmax_key = maximum(getproperty(ph,key)) KomaMRIPlots/src/ui/DisplayFunctions.jl:730:- if key == :T1 || key == :T2 || key == :T2s KomaMRIPlots/src/ui/DisplayFunctions.jl:731:- cmin_key = 0 KomaMRIPlots/src/ui/DisplayFunctions.jl:732:- factor = 1e3 KomaMRIPlots/src/ui/DisplayFunctions.jl:733:- unit = " ms" KomaMRIPlots/src/ui/DisplayFunctions.jl:734:- if key == :T1 KomaMRIPlots/src/ui/DisplayFunctions.jl:735:- cmax_key = 2500/factor KomaMRIPlots/src/ui/DisplayFunctions.jl:736:- colors = MAT.matread(path*"/assets/T1cm.mat")["T1colormap"] KomaMRIPlots/src/ui/DisplayFunctions.jl:737:- N, _ = size(colors) KomaMRIPlots/src/ui/DisplayFunctions.jl:738:- idx = range(0,1;length=N) #range(0,T,N) works in Julia 1.7 KomaMRIPlots/src/ui/DisplayFunctions.jl:739:- colormap = [[idx[n], "rgb($(floor(Int,colors[n,1]*255)),$(floor(Int,colors[n,2]*255)),$(floor(Int,colors[n,3]*255)))"] for n=1:N] KomaMRIPlots/src/ui/DisplayFunctions.jl:740:- elseif key == :T2 || key == :T2s KomaMRIPlots/src/ui/DisplayFunctions.jl:741:- if key == :T2 KomaMRIPlots/src/ui/DisplayFunctions.jl:742:- cmax_key = 250/factor KomaMRIPlots/src/ui/DisplayFunctions.jl:743:- end KomaMRIPlots/src/ui/DisplayFunctions.jl:744:- colors = MAT.matread(path*"/assets/T2cm.mat")["T2colormap"] KomaMRIPlots/src/ui/DisplayFunctions.jl:745:- N, _ = size(colors) KomaMRIPlots/src/ui/DisplayFunctions.jl:746:- idx = range(0,1;length=N) #range(0,T,N) works in Julia 1.7 KomaMRIPlots/src/ui/DisplayFunctions.jl:747:- colormap = [[idx[n], "rgb($(floor(Int,colors[n,1]*255)),$(floor(Int,colors[n,2]*255)),$(floor(Int,colors[n,3]*255)))"] for n=1:N] KomaMRIPlots/src/ui/DisplayFunctions.jl:748:- end KomaMRIPlots/src/ui/DisplayFunctions.jl:749:- elseif key == :x || key == :y || key == :z KomaMRIPlots/src/ui/DisplayFunctions.jl:750:- factor = 1e2 KomaMRIPlots/src/ui/DisplayFunctions.jl:751:- unit = " cm" KomaMRIPlots/src/ui/DisplayFunctions.jl:752:- colormap="Greys" KomaMRIPlots/src/ui/DisplayFunctions.jl:753:- elseif key == :Δw KomaMRIPlots/src/ui/DisplayFunctions.jl:754:- factor = 1/(2π) KomaMRIPlots/src/ui/DisplayFunctions.jl:755:- unit = " Hz" KomaMRIPlots/src/ui/DisplayFunctions.jl:756:- colormap="Greys" KomaMRIPlots/src/ui/DisplayFunctions.jl:757:- else KomaMRIPlots/src/ui/DisplayFunctions.jl:758:- factor = 1 KomaMRIPlots/src/ui/DisplayFunctions.jl:759:- cmin_key = 0 KomaMRIPlots/src/ui/DisplayFunctions.jl:760:- unit="" KomaMRIPlots/src/ui/DisplayFunctions.jl:761:- colormap="Greys" KomaMRIP
code-style: KomaMRIPlots/src/ui/DisplayFunctions.jl#L1145
[JuliaFormatter] reported by reviewdog 🐶 Raw Output: KomaMRIPlots/src/ui/DisplayFunctions.jl:1145:- seqd = KomaMRIBase.discretize(seq; sampling_params) KomaMRIPlots/src/ui/DisplayFunctions.jl:1146:- Gx = scattergl(x=seqd.t*1e3, y=seqd.Gx*1e3, name="Gx", mode="markers+lines", marker_symbol=:circle) KomaMRIPlots/src/ui/DisplayFunctions.jl:1147:- Gy = scattergl(x=seqd.t*1e3, y=seqd.Gy*1e3, name="Gy", mode="markers+lines", marker_symbol=:circle) KomaMRIPlots/src/ui/DisplayFunctions.jl:1148:- Gz = scattergl(x=seqd.t*1e3, y=seqd.Gz*1e3, name="Gz", mode="markers+lines", marker_symbol=:circle) KomaMRIPlots/src/ui/DisplayFunctions.jl:1149:- B1_abs = scattergl(x=seqd.t*1e3, y=abs.(seqd.B1*1e6), name="|B1|", mode="markers+lines", marker_symbol=:circle) KomaMRIPlots/src/ui/DisplayFunctions.jl:1150:- B1_angle = scattergl(x=seqd.t*1e3, y=angle.(seqd.B1), name="∠B1", mode="markers+lines", marker_symbol=:circle) KomaMRIPlots/src/ui/DisplayFunctions.jl:1151:- ADC = scattergl(x=seqd.t[seqd.ADC]*1e3, y=zeros(sum(seqd.ADC)), name="ADC", mode="markers", marker_symbol=:x) KomaMRIPlots/src/ui/DisplayFunctions.jl:1152:- B1_Δf = scattergl(x=seqd.t*1e3, y=abs.(seqd.Δf*1e-3), name="B1_Δf", mode="markers+lines", marker_symbol=:circle, visible="legendonly") KomaMRIPlots/src/ui/DisplayFunctions.jl:1153:- plot_koma([Gx,Gy,Gz,B1_abs,B1_angle,ADC,B1_Δf]) KomaMRIPlots/src/ui/DisplayFunctions.jl:1549:+ seqd = KomaMRIBase.discretize(seq; sampling_params) KomaMRIPlots/src/ui/DisplayFunctions.jl:1550:+ Gx = scattergl(; KomaMRIPlots/src/ui/DisplayFunctions.jl:1551:+ x=seqd.t * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1552:+ y=seqd.Gx * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1553:+ name="Gx", KomaMRIPlots/src/ui/DisplayFunctions.jl:1554:+ mode="markers+lines", KomaMRIPlots/src/ui/DisplayFunctions.jl:1555:+ marker_symbol=:circle, KomaMRIPlots/src/ui/DisplayFunctions.jl:1556:+ ) KomaMRIPlots/src/ui/DisplayFunctions.jl:1557:+ Gy = scattergl(; KomaMRIPlots/src/ui/DisplayFunctions.jl:1558:+ x=seqd.t * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1559:+ y=seqd.Gy * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1560:+ name="Gy", KomaMRIPlots/src/ui/DisplayFunctions.jl:1561:+ mode="markers+lines", KomaMRIPlots/src/ui/DisplayFunctions.jl:1562:+ marker_symbol=:circle, KomaMRIPlots/src/ui/DisplayFunctions.jl:1563:+ ) KomaMRIPlots/src/ui/DisplayFunctions.jl:1564:+ Gz = scattergl(; KomaMRIPlots/src/ui/DisplayFunctions.jl:1565:+ x=seqd.t * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1566:+ y=seqd.Gz * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1567:+ name="Gz", KomaMRIPlots/src/ui/DisplayFunctions.jl:1568:+ mode="markers+lines", KomaMRIPlots/src/ui/DisplayFunctions.jl:1569:+ marker_symbol=:circle, KomaMRIPlots/src/ui/DisplayFunctions.jl:1570:+ ) KomaMRIPlots/src/ui/DisplayFunctions.jl:1571:+ B1_abs = scattergl(; KomaMRIPlots/src/ui/DisplayFunctions.jl:1572:+ x=seqd.t * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1573:+ y=abs.(seqd.B1 * 1e6), KomaMRIPlots/src/ui/DisplayFunctions.jl:1574:+ name="|B1|", KomaMRIPlots/src/ui/DisplayFunctions.jl:1575:+ mode="markers+lines", KomaMRIPlots/src/ui/DisplayFunctions.jl:1576:+ marker_symbol=:circle, KomaMRIPlots/src/ui/DisplayFunctions.jl:1577:+ ) KomaMRIPlots/src/ui/DisplayFunctions.jl:1578:+ B1_angle = scattergl(; KomaMRIPlots/src/ui/DisplayFunctions.jl:1579:+ x=seqd.t * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1580:+ y=angle.(seqd.B1), KomaMRIPlots/src/ui/DisplayFunctions.jl:1581:+ name="∠B1", KomaMRIPlots/src/ui/DisplayFunctions.jl:1582:+ mode="markers+lines", KomaMRIPlots/src/ui/DisplayFunctions.jl:1583:+ marker_symbol=:circle, KomaMRIPlots/src/ui/DisplayFunctions.jl:1584:+ ) KomaMRIPlots/src/ui/DisplayFunctions.jl:1585:+ ADC = scattergl(; KomaMRIPlots/src/ui/DisplayFunctions.jl:1586:+ x=seqd.t[seqd.ADC] * 1e3, KomaMRIPlots/src/ui/DisplayFunctions.jl:1587:+
code-style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: julia-actions/setup-julia@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.