Skip to content

Merge pull request #3 from aTrotier/opti #9

Merge pull request #3 from aTrotier/opti

Merge pull request #3 from aTrotier/opti #9

Triggered via push August 24, 2023 14:39
Status Success
Total duration 12m 57s
Artifacts

CI.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/AD.md:49-60 ```@example AD T2 = 60.0 T1 = 1000.0 TE = 7 ETL = 50 deltaB1 = 1 TE_vec = range(TE,TE*ETL,ETL) amp = MESE_EPG(T2,T1,TE,ETL,deltaB1) lines(TE_vec,abs.(amp),axis =(;title = "MESE Signal", xlabel="TE [ms]")) ``` value = UndefVarError: `epgRotation` not defined
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/AD.md:82-84 ```@example AD j = ForwardDiff.jacobian(x -> MESE_EPG(x,T1,TE,ETL,deltaB1),[T2]) ``` value = UndefVarError: `epgRotation` not defined
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/AD.md:88-96 ```@example AD f=Figure() ax = Axis(f[1,1],title ="Analytic vs Automatic Differentiation") lines!(ax,TE_vec,abs.(df),label = "Analytic Differentiation",linewidth=3) lines!(ax,TE_vec,abs.(vec(j)),label = "Automatic Differentiation",linestyle=:dash,linewidth=3) axislegend(ax) f ``` value = UndefVarError: `j` not defined
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/AD.md:100-112 ```@example AD deltaB1 = 0.8 amp = MESE_EPG(T2,T1,TE,ETL,deltaB1) j = ForwardDiff.jacobian(x -> MESE_EPG(x,T1,TE,ETL,deltaB1),[T2]) f = Figure() ax = Axis(f[1,1], title = "MESE signal with B1 = $(deltaB1)",xlabel="TE [ms]") lines!(ax,TE_vec,abs.(amp)) ax = Axis(f[1,2], title = "AD of MESE signal with B1 = $(deltaB1)",xlabel="TE [ms]") lines!(ax,TE_vec,df) f ``` value = UndefVarError: `epgRotation` not defined
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/AD.md:116-137 ```@example AD function MESE_EPG2(T2T1,TE,ETL,delta) T2,T1 = T2T1 T = complex(eltype(T2)) E = EPGStates([T(0.0)],[T(0.0)],[T(1.0)]) echo_vec = Vector{Complex{eltype(T2)}}() E = epgRotation(E,pi/2*delta, pi/2) ##loop over refocusing-pulses for i = 1:ETL E = epgDephasing(E,1) E = epgRelaxation(E,TE,T1,T2) E = epgRotation(E,pi*delta,0.0) E = epgDephasing(E,1) push!(echo_vec,E.Fp[1]) end return abs.(echo_vec) end j2 = ForwardDiff.jacobian(x -> MESE_EPG2(x,TE,ETL,deltaB1),[T2,T1]) ``` value = UndefVarError: `epgRotation` not defined
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/AD.md:140-142 ```@example AD j2[:,1] ≈ vec(j) ``` value = UndefVarError: `j2` not defined
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/regular.md:53-58 ```@example Regular E = EPGStates() E = epgRotation(E,deg2rad(60),0) E = epgDephasing(E,1) E = epgRotation(E,deg2rad(60),deg2rad(117)) ``` value = UndefVarError: `epgRotation` not defined
Documentation: ../../../.julia/packages/Documenter/bYYzK/src/Utilities/Utilities.jl#L34
failed to run `@example` block in src/regular.md:71-73 ```@example Regular E.Fp[2] ``` value = BoundsError: attempt to access 1-element Vector{ComplexF64} at index [2]