Changed rem to mod to prevent 0 or negative index. (#141) #349
Annotations
11 errors and 5 warnings
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in src/overview.md:8-29
```jldoctest; output = false, setup = :(using NFFT, Random; Random.seed!(1))
using NFFT
J, N = 8, 16
k = range(-0.4, stop=0.4, length=J) # nodes at which the NFFT is evaluated
f = randn(ComplexF64, J) # data to be transformed
p = plan_nfft(k, N, reltol=1e-9) # create plan
fHat = adjoint(p) * f # calculate adjoint NFFT
y = p * fHat # calculate forward NFFT
# output
8-element Vector{ComplexF64}:
-2.7271960749618147 + 3.8456244592089193im
-10.845195849950795 + 28.19548075631714im
14.03623366689872 + 1.6000052060508116im
21.40183412153706 - 11.485663941957627im
-13.314941250611934 - 5.0460967285430085im
-6.727872247343835 + 13.675812003697747im
4.774802667091787 - 1.3445454002125357im
16.242902197408224 + 4.374305558267848im
```
Subexpression:
using NFFT
J, N = 8, 16
k = range(-0.4, stop=0.4, length=J) # nodes at which the NFFT is evaluated
f = randn(ComplexF64, J) # data to be transformed
p = plan_nfft(k, N, reltol=1e-9) # create plan
fHat = adjoint(p) * f # calculate adjoint NFFT
y = p * fHat # calculate forward NFFT
Evaluated output:
8-element Vector{ComplexF64}:
-2.7271960750455873 + 3.8456244592301676im
-10.845195849921891 + 28.195480756172714im
14.036233667047407 + 1.6000052060038412im
21.401834121576844 - 11.485663942028701im
-13.314941250713122 - 5.046096728579447im
-6.727872247485432 + 13.67581200372671im
4.774802667002909 - 1.3445454002024853im
16.242902197461216 + 4.3743055582420105im
Expected output:
8-element Vector{ComplexF64}:
-2.7271960749618147 + 3.8456244592089193im
-10.845195849950795 + 28.19548075631714im
14.03623366689872 + 1.6000052060508116im
21.40183412153706 - 11.485663941957627im
-13.314941250611934 - 5.0460967285430085im
-6.727872247343835 + 13.675812003697747im
4.774802667091787 - 1.3445454002125357im
16.242902197408224 + 4.374305558267848im
diff =
Warning: Diff output requires color.
8-element Vector{ComplexF64}:
-2.7271960749618147 -2.7271960750455873 + 3.8456244592089193im
-10.845195849950795 3.8456244592301676im
-10.845195849921891 + 28.19548075631714im
14.03623366689872 28.195480756172714im
14.036233667047407 + 1.6000052060508116im
21.40183412153706 1.6000052060038412im
21.401834121576844 - 11.485663941957627im
-13.314941250611934 11.485663942028701im
-13.314941250713122 - 5.0460967285430085im
-6.727872247343835 5.046096728579447im
-6.727872247485432 + 13.675812003697747im
4.774802667091787 13.67581200372671im
4.774802667002909 - 1.3445454002125357im
16.242902197408224 1.3445454002024853im
16.242902197461216 + 4.374305558267848im4.3743055582420105im
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in src/overview.md:33-60
```jldoctest; output = false, setup = :(using NFFT, Random; Random.seed!(1))
J, N = 16, 32
k = rand(2, J) .- 0.5
f = randn(ComplexF64, J)
p = plan_nfft(k, (N,N), reltol=1e-9)
fHat = adjoint(p) * f
y = p * fHat
# output
16-element Vector{ComplexF64}:
720.6895322185169 + 965.5238823656156im
-437.3350182871744 + 342.76233801285343im
-254.2540698800256 + 443.98830704210474im
-22.031291597035764 - 1154.6436407643148im
-553.2097750887631 + 870.1410092328575im
-502.9985672100639 - 345.1896840480444im
-113.39126060229778 - 58.42376028629184im
809.2621963819311 + 440.7093087199319im
328.7372432755839 - 1199.2654551345026im
-135.96498544538673 - 1231.1920536412733im
-62.366745207758484 - 1112.5395014452238im
-1232.9994882937272 - 1753.9813744663502im
670.645665270049 + 1123.1414479604593im
-520.606923875403 - 69.30438918655777im
-347.30015266563146 - 1573.5948177902806im
654.2300617100433 + 458.56688307993295im
```
Subexpression:
J, N = 16, 32
k = rand(2, J) .- 0.5
f = randn(ComplexF64, J)
p = plan_nfft(k, (N,N), reltol=1e-9)
fHat = adjoint(p) * f
y = p * fHat
Evaluated output:
16-element Vector{ComplexF64}:
720.689532212049 + 965.5238823533358im
-437.3350182902921 + 342.762338015117im
-254.254069878534 + 443.98830703906657im
-22.0312915976327 - 1154.6436407707447im
-553.2097750978457 + 870.1410092469822im
-502.9985672117599 - 345.1896840492254im
-113.39126060291234 - 58.42376028614015im
809.2621963784362 + 440.7093087192108im
328.7372432777278 - 1199.2654551418188im
-135.9649854457414 - 1231.1920536402204im
-62.36674520708793 - 1112.5395014565095im
-1232.9994883040208 - 1753.9813744814123im
670.6456652742795 + 1123.1414479652183im
-520.6069238739642 - 69.30438918637107im
-347.30015266643517 - 1573.5948177902885im
654.2300617098213 + 458.5668830808395im
Expected output:
16-element Vector{ComplexF64}:
720.6895322185169 + 965.5238823656156im
-437.3350182871744 + 342.76233801285343im
-254.2540698800256 + 443.98830704210474im
-22.031291597035764 - 1154.6436407643148im
-553.2097750887631 + 870.1410092328575im
-502.9985672100639 - 345.1896840480444im
-113.39126060229778 - 58.42376028629184im
809.2621963819311 + 440.7093087199319im
328.7372432755839 - 1199.2654551345026im
-135.96498544538673 - 1231.1920536412733im
-62.366745207758484 - 1112.5395014452238im
-1232.9994882937272 - 1753.9813744663502im
670.645665270049 + 1123.1414479604593im
-520.606923875403 - 69.30438918655777im
-347.30015266563146 - 1573.5948177902806im
654.2300617100433 + 458.56688307993295im
diff =
Warning: Diff output requires color.
16-element Vector{ComplexF64}:
720.6895322185169 Vector{ComplexF64}:
720.689532212049 + 965.5238823656156im
-437.3350182871744 965.5238823533358im
-437.3350182902921 + 342.76233801285343im
-254.2540698800256 342.762338015117im
-254.254069878534 + 443.98830704210474im
-22.031291597035764 443.98830703906657im
-22.0312915976327 - 1154.6436407643148im
-553.2097750887631 1154.6436407707447im
-553.2097750978457 + 870.1410092328575im
-502.9985672100639 870.1410092469822im
-502.9985672117599 - 345.1896840480444im
-113.39126060229778 345.1896840492254im
-113.39126060291234 - 58.42376028629184im
809.2621963819311 58.42376028614015im
809.2621963784362 + 440.7093087199319im
328.7372432755839 440.7093087192108im
328.7372432777278 - 1199.2654551345026im
-135.96498544538673 1199.2654551418188im
-135.9649854457414 - 1231.1920536412733im
-62.366745207758484 1231.1920536402204im
-62.36674520708793 - 1112.5395014452238im
-1232.9994882937272 1112.5395014565095im
-1232.9994883040208 - 1753.9813744663502im
670.645665270049 1753.9813744814123im
670.6456652742795 + 1123.1414479604593im
-520.606923875403 1123.1414479652183im
-520.6069238739642 - 69.30438918655777im
-347.30015266563146 69.30438918637107im
-347.3001526664
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:99-118
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> using FFTW
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> p = plan_nfft(trj, (2Nx,2Nx))
NFFTPlan with 1000 sampling points for an input array of size(64, 64) and an output array of size(1000,) with dims 1:2
julia> fftplan = plan_fft(zeros(ComplexF32, (2Nx,2Nx)); flags=FFTW.MEASURE);
julia> λ = Array{ComplexF32}(undef, 2Nx, 2Nx);
julia> calculateToeplitzKernel!(λ, p, trj, fftplan);
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ);
```
Subexpression:
using FFTW
Evaluated output:
ERROR: ArgumentError: Package FFTW not found in current path.
- Run `import Pkg; Pkg.add("FFTW")` to install the FFTW package.
Stacktrace:
[1] macro expansion
@ ./loading.jl:1772 [inlined]
[2] macro expansion
@ ./lock.jl:267 [inlined]
[3] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[4] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[5] invoke_in_world
@ ./essentials.jl:923 [inlined]
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
Expected output:
diff =
Warning: Diff output requires color.
ERROR: ArgumentError: Package FFTW not found in current path.
- Run `import Pkg; Pkg.add("FFTW")` to install the FFTW package.
Stacktrace:
[1] macro expansion
@ ./loading.jl:1772 [inlined]
[2] macro expansion
@ ./lock.jl:267 [inlined]
[3] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[4] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[5] invoke_in_world
@ ./essentials.jl:923 [inlined]
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:99-118
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> using FFTW
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> p = plan_nfft(trj, (2Nx,2Nx))
NFFTPlan with 1000 sampling points for an input array of size(64, 64) and an output array of size(1000,) with dims 1:2
julia> fftplan = plan_fft(zeros(ComplexF32, (2Nx,2Nx)); flags=FFTW.MEASURE);
julia> λ = Array{ComplexF32}(undef, 2Nx, 2Nx);
julia> calculateToeplitzKernel!(λ, p, trj, fftplan);
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ);
```
Subexpression:
fftplan = plan_fft(zeros(ComplexF32, (2Nx,2Nx)); flags=FFTW.MEASURE);
Evaluated output:
ERROR: UndefVarError: `FFTW` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
diff =
Warning: Diff output requires color.
ERROR: UndefVarError: `FFTW` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:99-118
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> using FFTW
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> p = plan_nfft(trj, (2Nx,2Nx))
NFFTPlan with 1000 sampling points for an input array of size(64, 64) and an output array of size(1000,) with dims 1:2
julia> fftplan = plan_fft(zeros(ComplexF32, (2Nx,2Nx)); flags=FFTW.MEASURE);
julia> λ = Array{ComplexF32}(undef, 2Nx, 2Nx);
julia> calculateToeplitzKernel!(λ, p, trj, fftplan);
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ);
```
Subexpression:
calculateToeplitzKernel!(λ, p, trj, fftplan);
Evaluated output:
ERROR: UndefVarError: `fftplan` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
diff =
Warning: Diff output requires color.
ERROR: UndefVarError: `fftplan` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:23-75
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> λ = calculateToeplitzKernel((Nx, Nx), trj)
64×64 Matrix{ComplexF32}:
-432.209+297.833im 271.68-526.348im … 3044.35+34.6322im
990.057-244.569im -582.825+473.084im 45.7631-87.8965im
1922.01+223.525im 9248.63-452.04im 3649.78+108.941im
-402.371-3.37619im 496.815+231.891im 322.646-329.089im
-482.346-121.534im 559.756-106.981im 155.183+454.0im
3293.8+194.388im -3361.43+34.1272im … 2672.16-526.853im
-936.331+172.246im 4394.11-400.762im -1121.04+160.219im
-135.828+169.448im 3509.17+59.0678im 3883.84-501.913im
395.143+158.638im 24.4377-387.153im 5731.3+173.827im
925.902-117.765im 2935.3+346.28im -1414.12-214.701im
⋮ ⋱
2239.72-295.883im 490.442+524.399im … 2028.84-36.5824im
-1108.11+227.146im 24.7403-455.661im -549.699+105.319im
1323.78+110.713im -321.052+117.802im 651.944-443.178im
-52.1597+288.0im -326.042-516.516im 3619.1+44.4651im
1180.56+73.3666im -26.1233+155.148im -869.065-405.832im
3555.36+649.527im -198.245-878.042im … 1198.83-317.062im
-368.958-177.954im -360.343+406.469im -1478.96-154.512im
4861.29+38.9623im 6082.55-267.478im 2519.09+293.503im
1022.55-185.869im 177.426+414.384im 3650.56-146.597im
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ)
32×32 Matrix{ComplexF32}:
177.717-52.0493im 10.6059+20.7185im … 746.131+330.005im
-311.858+988.219im -1216.83-1295.14im 410.732+751.925im
-1082.27+872.968im 1023.97-1556.45im -923.699+478.63im
-999.035-525.161im -1694.59-658.558im -521.044+607.005im
-342.999+1481.82im -1729.18-2712.81im 56.5212+1394.81im
-1187.65-1979.55im 1389.67+970.033im … 2968.93-744.264im
-666.533+485.511im -1315.83+409.855im -610.146+132.258im
1159.57+64.6059im -299.169-569.622im 663.802+396.827im
-795.112-1464.63im -462.43+2442.77im -1622.72+1701.27im
-1047.67+31.5578im -1127.65-936.043im 474.071+797.911im
⋮ ⋱
327.345+2191.71im -904.635+558.786im -1449.32-276.721im
-1047.2-71.362im 363.109+567.346im -1974.0-2348.36im
-1540.45+1661.77im 1175.75+1279.75im … 1110.61+653.234im
-526.832-435.297im -265.021-2019.08im 68.5607-323.086im
-1076.52-2719.16im -477.005+2232.06im -155.59-1275.66im
1143.76-735.966im -380.489+2485.78im 1812.17-261.191im
1685.44-1243.29im 1911.16-1157.72im -991.639-42.8214im
1054.11-1282.41im 66.9358-588.991im … -952.238+1026.35im
-417.276-273.367im -946.698+1971.77im -890.339-882.05im
```
Subexpression:
λ = calculateToeplitzKernel((Nx, Nx), trj)
Evaluated output:
64×64 Matrix{ComplexF32}:
-432.217+297.834im 271.685-526.349im … 3044.35+34.632im
990.059-244.569im -582.83+473.084im 45.764-87.8965im
1922.0+223.525im 9248.64-452.04im 3649.78+108.941im
-402.37-3.37622im 496.812+231.891im 322.647-329.09im
-482.348-121.535im 559.758-106.98im 155.184+454.001im
3293.8+194.388im -3361.44+34.1275im … 2672.17-526.854im
-936.332+172.248im 4394.11-400.763im -1121.05+160.218im
-135.83+169.448im 3509.17+59.0674im 3883.84-501.914im
395.145+158.639im 24.436-387.153im 5731.3+173.827im
925.903-117.765im 2935.3+346.28im -1414.13-214.701im
⋮ ⋱
2239.73-295.885im 490.443+524.4im … 2028.84-36.5808im
-1108.11+227.146im 24.741-455.661im -549.697+105.32im
1323.79+110.713im -321.055+117.802im 651.943-443.179im
-52.162+288.001im -326.04-516.516im 3619.1+44.4653im
1180.55+73.367im -26.1239+155.148im -869.065-405.833im
3555.37+649.529im -198.252-878.045im … 1198.84-317.064im
-368.961-177.955im -360.347+406.47im -1478.97-15
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:23-75
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> λ = calculateToeplitzKernel((Nx, Nx), trj)
64×64 Matrix{ComplexF32}:
-432.209+297.833im 271.68-526.348im … 3044.35+34.6322im
990.057-244.569im -582.825+473.084im 45.7631-87.8965im
1922.01+223.525im 9248.63-452.04im 3649.78+108.941im
-402.371-3.37619im 496.815+231.891im 322.646-329.089im
-482.346-121.534im 559.756-106.981im 155.183+454.0im
3293.8+194.388im -3361.43+34.1272im … 2672.16-526.853im
-936.331+172.246im 4394.11-400.762im -1121.04+160.219im
-135.828+169.448im 3509.17+59.0678im 3883.84-501.913im
395.143+158.638im 24.4377-387.153im 5731.3+173.827im
925.902-117.765im 2935.3+346.28im -1414.12-214.701im
⋮ ⋱
2239.72-295.883im 490.442+524.399im … 2028.84-36.5824im
-1108.11+227.146im 24.7403-455.661im -549.699+105.319im
1323.78+110.713im -321.052+117.802im 651.944-443.178im
-52.1597+288.0im -326.042-516.516im 3619.1+44.4651im
1180.56+73.3666im -26.1233+155.148im -869.065-405.832im
3555.36+649.527im -198.245-878.042im … 1198.83-317.062im
-368.958-177.954im -360.343+406.469im -1478.96-154.512im
4861.29+38.9623im 6082.55-267.478im 2519.09+293.503im
1022.55-185.869im 177.426+414.384im 3650.56-146.597im
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ)
32×32 Matrix{ComplexF32}:
177.717-52.0493im 10.6059+20.7185im … 746.131+330.005im
-311.858+988.219im -1216.83-1295.14im 410.732+751.925im
-1082.27+872.968im 1023.97-1556.45im -923.699+478.63im
-999.035-525.161im -1694.59-658.558im -521.044+607.005im
-342.999+1481.82im -1729.18-2712.81im 56.5212+1394.81im
-1187.65-1979.55im 1389.67+970.033im … 2968.93-744.264im
-666.533+485.511im -1315.83+409.855im -610.146+132.258im
1159.57+64.6059im -299.169-569.622im 663.802+396.827im
-795.112-1464.63im -462.43+2442.77im -1622.72+1701.27im
-1047.67+31.5578im -1127.65-936.043im 474.071+797.911im
⋮ ⋱
327.345+2191.71im -904.635+558.786im -1449.32-276.721im
-1047.2-71.362im 363.109+567.346im -1974.0-2348.36im
-1540.45+1661.77im 1175.75+1279.75im … 1110.61+653.234im
-526.832-435.297im -265.021-2019.08im 68.5607-323.086im
-1076.52-2719.16im -477.005+2232.06im -155.59-1275.66im
1143.76-735.966im -380.489+2485.78im 1812.17-261.191im
1685.44-1243.29im 1911.16-1157.72im -991.639-42.8214im
1054.11-1282.41im 66.9358-588.991im … -952.238+1026.35im
-417.276-273.367im -946.698+1971.77im -890.339-882.05im
```
Subexpression:
convolveToeplitzKernel!(y, λ)
Evaluated output:
32×32 Matrix{ComplexF32}:
177.716-52.0494im 10.6065+20.7163im … 746.129+330.004im
-311.857+988.219im -1216.83-1295.14im 410.734+751.926im
-1082.27+872.968im 1023.97-1556.45im -923.696+478.627im
-999.036-525.162im -1694.59-658.558im -521.045+607.003im
-343.0+1481.82im -1729.18-2712.81im 56.5212+1394.81im
-1187.65-1979.55im 1389.67+970.033im … 2968.93-744.264im
-666.532+485.512im -1315.83+409.857im -610.144+132.26im
1159.57+64.6058im -299.169-569.623im 663.803+396.826im
-795.114-1464.63im -462.432+2442.77im -1622.72+1701.27im
-1047.67+31.5596im -1127.65-936.044im 474.068+797.909im
⋮ ⋱
327.345+2191.71im -904.634+558.786im -1449.32-276.72im
-1047.2-71.3606im 363.111+567.345im -1974.0-2348.36im
-1540.45+1661.77im 1175.75+1279.76im … 1110.61+653.232im
-526.831-435.296im -265.021-2019.08im 68.5586-323.088im
-1076.52-2719.16im -477.004+2232.06im -155.591-1275.66im
1143.75-735.966im -380.489+2485.78im 1812.17-261.19im
1685.44-1243.29im 1911.16-1157.72im -991.641-42.8217im
105
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:178-219
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> using FFTW
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> λ = calculateToeplitzKernel((Nx, Nx), trj);
julia> xOS1 = similar(λ);
julia> xOS2 = similar(λ);
julia> fftplan = plan_fft(xOS1; flags=FFTW.MEASURE);
julia> ifftplan = plan_ifft(xOS1; flags=FFTW.MEASURE);
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ, fftplan, ifftplan, xOS1, xOS2)
32×32 Matrix{ComplexF32}:
177.717-52.0493im 10.6059+20.7185im … 746.131+330.005im
-311.858+988.219im -1216.83-1295.14im 410.732+751.925im
-1082.27+872.968im 1023.97-1556.45im -923.699+478.63im
-999.035-525.161im -1694.59-658.558im -521.044+607.005im
-342.999+1481.82im -1729.18-2712.81im 56.5212+1394.81im
-1187.65-1979.55im 1389.67+970.033im … 2968.93-744.264im
-666.533+485.511im -1315.83+409.855im -610.146+132.258im
1159.57+64.6059im -299.169-569.622im 663.802+396.827im
-795.112-1464.63im -462.43+2442.77im -1622.72+1701.27im
-1047.67+31.5578im -1127.65-936.043im 474.071+797.911im
⋮ ⋱
327.345+2191.71im -904.635+558.786im -1449.32-276.721im
-1047.2-71.362im 363.109+567.346im -1974.0-2348.36im
-1540.45+1661.77im 1175.75+1279.75im … 1110.61+653.234im
-526.832-435.297im -265.021-2019.08im 68.5607-323.086im
-1076.52-2719.16im -477.005+2232.06im -155.59-1275.66im
1143.76-735.966im -380.489+2485.78im 1812.17-261.191im
1685.44-1243.29im 1911.16-1157.72im -991.639-42.8214im
1054.11-1282.41im 66.9358-588.991im … -952.238+1026.35im
-417.276-273.367im -946.698+1971.77im -890.339-882.05im
```
Subexpression:
using FFTW
Evaluated output:
ERROR: ArgumentError: Package FFTW not found in current path.
- Run `import Pkg; Pkg.add("FFTW")` to install the FFTW package.
Stacktrace:
[1] macro expansion
@ ./loading.jl:1772 [inlined]
[2] macro expansion
@ ./lock.jl:267 [inlined]
[3] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[4] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[5] invoke_in_world
@ ./essentials.jl:923 [inlined]
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
Expected output:
diff =
Warning: Diff output requires color.
ERROR: ArgumentError: Package FFTW not found in current path.
- Run `import Pkg; Pkg.add("FFTW")` to install the FFTW package.
Stacktrace:
[1] macro expansion
@ ./loading.jl:1772 [inlined]
[2] macro expansion
@ ./lock.jl:267 [inlined]
[3] __require(into::Module, mod::Symbol)
@ Base ./loading.jl:1753
[4] #invoke_in_world#3
@ ./essentials.jl:926 [inlined]
[5] invoke_in_world
@ ./essentials.jl:923 [inlined]
[6] require(into::Module, mod::Symbol)
@ Base ./loading.jl:1746
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:178-219
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> using FFTW
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> λ = calculateToeplitzKernel((Nx, Nx), trj);
julia> xOS1 = similar(λ);
julia> xOS2 = similar(λ);
julia> fftplan = plan_fft(xOS1; flags=FFTW.MEASURE);
julia> ifftplan = plan_ifft(xOS1; flags=FFTW.MEASURE);
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ, fftplan, ifftplan, xOS1, xOS2)
32×32 Matrix{ComplexF32}:
177.717-52.0493im 10.6059+20.7185im … 746.131+330.005im
-311.858+988.219im -1216.83-1295.14im 410.732+751.925im
-1082.27+872.968im 1023.97-1556.45im -923.699+478.63im
-999.035-525.161im -1694.59-658.558im -521.044+607.005im
-342.999+1481.82im -1729.18-2712.81im 56.5212+1394.81im
-1187.65-1979.55im 1389.67+970.033im … 2968.93-744.264im
-666.533+485.511im -1315.83+409.855im -610.146+132.258im
1159.57+64.6059im -299.169-569.622im 663.802+396.827im
-795.112-1464.63im -462.43+2442.77im -1622.72+1701.27im
-1047.67+31.5578im -1127.65-936.043im 474.071+797.911im
⋮ ⋱
327.345+2191.71im -904.635+558.786im -1449.32-276.721im
-1047.2-71.362im 363.109+567.346im -1974.0-2348.36im
-1540.45+1661.77im 1175.75+1279.75im … 1110.61+653.234im
-526.832-435.297im -265.021-2019.08im 68.5607-323.086im
-1076.52-2719.16im -477.005+2232.06im -155.59-1275.66im
1143.76-735.966im -380.489+2485.78im 1812.17-261.191im
1685.44-1243.29im 1911.16-1157.72im -991.639-42.8214im
1054.11-1282.41im 66.9358-588.991im … -952.238+1026.35im
-417.276-273.367im -946.698+1971.77im -890.339-882.05im
```
Subexpression:
fftplan = plan_fft(xOS1; flags=FFTW.MEASURE);
Evaluated output:
ERROR: UndefVarError: `FFTW` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
diff =
Warning: Diff output requires color.
ERROR: UndefVarError: `FFTW` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/DocTests.jl#L369
doctest failure in ~/.julia/packages/NFFTTools/UlGIF/src/Toeplitz.jl:178-219
```jldoctest; output = false, setup = :(using NFFT, NFFTTools, Random; Random.seed!(1))
julia> using FFTW
julia> Nx = 32;
julia> trj = Float32.(rand(2, 1000) .- 0.5);
julia> λ = calculateToeplitzKernel((Nx, Nx), trj);
julia> xOS1 = similar(λ);
julia> xOS2 = similar(λ);
julia> fftplan = plan_fft(xOS1; flags=FFTW.MEASURE);
julia> ifftplan = plan_ifft(xOS1; flags=FFTW.MEASURE);
julia> y = randn(ComplexF32, Nx, Nx);
julia> convolveToeplitzKernel!(y, λ, fftplan, ifftplan, xOS1, xOS2)
32×32 Matrix{ComplexF32}:
177.717-52.0493im 10.6059+20.7185im … 746.131+330.005im
-311.858+988.219im -1216.83-1295.14im 410.732+751.925im
-1082.27+872.968im 1023.97-1556.45im -923.699+478.63im
-999.035-525.161im -1694.59-658.558im -521.044+607.005im
-342.999+1481.82im -1729.18-2712.81im 56.5212+1394.81im
-1187.65-1979.55im 1389.67+970.033im … 2968.93-744.264im
-666.533+485.511im -1315.83+409.855im -610.146+132.258im
1159.57+64.6059im -299.169-569.622im 663.802+396.827im
-795.112-1464.63im -462.43+2442.77im -1622.72+1701.27im
-1047.67+31.5578im -1127.65-936.043im 474.071+797.911im
⋮ ⋱
327.345+2191.71im -904.635+558.786im -1449.32-276.721im
-1047.2-71.362im 363.109+567.346im -1974.0-2348.36im
-1540.45+1661.77im 1175.75+1279.75im … 1110.61+653.234im
-526.832-435.297im -265.021-2019.08im 68.5607-323.086im
-1076.52-2719.16im -477.005+2232.06im -155.59-1275.66im
1143.76-735.966im -380.489+2485.78im 1812.17-261.191im
1685.44-1243.29im 1911.16-1157.72im -991.639-42.8214im
1054.11-1282.41im 66.9358-588.991im … -952.238+1026.35im
-417.276-273.367im -946.698+1971.77im -890.339-882.05im
```
Subexpression:
ifftplan = plan_ifft(xOS1; flags=FFTW.MEASURE);
Evaluated output:
ERROR: UndefVarError: `FFTW` not defined
Stacktrace:
[1] top-level scope
@ none:1
Expected output:
diff =
Warning: Diff output requires color.
ERROR: UndefVarError: `FFTW` not defined
Stacktrace:
[1] top-level scope
@ none:1
|
Julia 1 - windows-latest - x64 - push
Process completed with exit code 1.
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/Documenter.jl#L681
removing `stable` and linking `stable` to `v0.13.4`.
|
Documentation:
../../../.julia/packages/Documenter/6vUwN/src/Documenter.jl#L681
removing `v0.13` and linking `v0.13` to `v0.13.4`.
|
Julia 1 - ubuntu-latest - x64 - push
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Julia 1.9 - ubuntu-latest - x64 - push
Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1
|
Julia 1.9 - windows-latest - x64 - push
Codecov: Failed to properly create commit: The process 'D:\a\_actions\codecov\codecov-action\v4\dist\codecov.exe' failed with exit code 1
|