@@ -155,7 +155,6 @@ function angular_spectrum(field::Matrix{T}, z, λ, L; pad_factor = 2) where T
155
155
# smoothing at 0.8 is arbitrary but works well
156
156
W = .* (smooth_f .(abs2 .(f_y) ./ u_limit^ 2 .+ abs2 .(f_x) * λ^ 2 , 0.8 , 1 ),
157
157
smooth_f .(abs2 .(f_x) ./ u_limit^ 2 .+ abs2 .(f_y) * λ^ 2 , 0.8 , 1 ))
158
-
159
158
# propagate field
160
159
field_out = fftshift (ifft (fft (ifftshift (field_new)) .* H .* W))
161
160
# take center part because of circular convolution
@@ -1028,7 +1027,7 @@ uuid = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
1028
1027
version = "1.2.1"
1029
1028
1030
1029
[[deps.ImageMagick_jll]]
1031
- deps = ["Artifacts", "Ghostscript_jll", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "Pkg", "Zlib_jll", "libpng_jll"]
1030
+ deps = ["Artifacts", "Ghostscript_jll", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "OpenJpeg_jll", " Pkg", "Zlib_jll", "libpng_jll"]
1032
1031
git-tree-sha1 = "124626988534986113cfd876e3093e4a03890f58"
1033
1032
uuid = "c73af94c-d91f-53ed-93a7-00f77d67a9d7"
1034
1033
version = "6.9.12+3"
@@ -1295,6 +1294,12 @@ version = "2.36.0+0"
1295
1294
deps = ["Libdl", "OpenBLAS_jll", "libblastrampoline_jll"]
1296
1295
uuid = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1297
1296
1297
+ [[deps.LittleCMS_jll]]
1298
+ deps = ["Artifacts", "JLLWrappers", "JpegTurbo_jll", "Libdl", "Libtiff_jll", "Pkg"]
1299
+ git-tree-sha1 = "110897e7db2d6836be22c18bffd9422218ee6284"
1300
+ uuid = "d3a379c0-f9a3-5b72-a4c0-6bf4d2e8af0f"
1301
+ version = "2.12.0+0"
1302
+
1298
1303
[[deps.LogExpFunctions]]
1299
1304
deps = ["DocStringExtensions", "IrrationalConstants", "LinearAlgebra"]
1300
1305
git-tree-sha1 = "c3ce8e7420b3a6e071e0fe4745f5d4300e37b13f"
@@ -1481,6 +1486,12 @@ git-tree-sha1 = "a4ca623df1ae99d09bc9868b008262d0c0ac1e4f"
1481
1486
uuid = "18a262bb-aa17-5467-a713-aee519bc75cb"
1482
1487
version = "3.1.4+0"
1483
1488
1489
+ [[deps.OpenJpeg_jll]]
1490
+ deps = ["Artifacts", "JLLWrappers", "Libdl", "Libtiff_jll", "LittleCMS_jll", "Pkg", "libpng_jll"]
1491
+ git-tree-sha1 = "76374b6e7f632c130e78100b166e5a48464256f8"
1492
+ uuid = "643b3616-a352-519d-856d-80112ee9badc"
1493
+ version = "2.4.0+0"
1494
+
1484
1495
[[deps.OpenLibm_jll]]
1485
1496
deps = ["Artifacts", "Libdl"]
1486
1497
uuid = "05823500-19ac-5b8b-9628-191a04bc5112"
0 commit comments