You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
generates a propagator for propagating optical fields via exp(i kz Δz) with kz=sqrt(k0^2-kx^2-ky^2). The k-space radius is stated by
269
269
k_max relative to the Nyquist frequency, as long as the scale remains to be 1 ./ (2 max.(sz ./ 2, 1))).
@@ -279,18 +279,21 @@ Note that there is no `propagator_sep` version of this function, since this prop
279
279
+ `Δz`: distance in Z to propagate per slice.
280
280
+ `k_max`: maximum propagation radius in k-space. I.e. limit of the k-sphere. This is not the aperture limit!
281
281
+ `scale`: specifies how to interpret k-space positions. Should remain to be 1 ./ (2 max.(sz ./ 2, 1))).
282
+
+ `ref_idx`: reference index at which the propagator has no effect. E.g. `ref_idx=1` means the first slice of the result array does not propagate. By default, the (Fourier space) center position along Z is chosen.
283
+
+ `use_sep`: This boolean flag switches to an algorithm using rr2_sep and no corner copies. In CUDA this is a little faster.
@@ -307,10 +310,10 @@ Note that there is no `propagator_sep` version of this function, since this prop
307
310
# Arguments
308
311
+ `arr`: the array to fill with propagators. If a 3rd dimension is present, a stack a propagators is returned, one for each multiple of Δz.
309
312
+ `Δz`: distance in Z to propagate per slice in relation to the wavelength. Nyquist sampling would be 0.5.
310
-
+ `ref_idx`: reference index at which the propagator has no effect. E.g. `ref_idx=1` means the first slice of the result array does not propagate. By default, the (Fourier space) center position along Z is chosen.
311
313
+ `k_max`: maximum propagation radius in k-space. I.e. limit of the k-sphere in relation to sampling frequency. This is not the aperture limit!
312
314
k_max = 0.5 corresponds to the Nyquist limit.
313
315
+ `scale`: specifies how to interpret k-space positions. Should remain to be 1 ./ (2 max.(sz ./ 2, 1))).
316
+
+ `ref_idx`: reference index at which the propagator has no effect. E.g. `ref_idx=1` means the first slice of the result array does not propagate. By default, the (Fourier space) center position along Z is chosen.
314
317
+ `use_sep`: This boolean flag switches to an algorithm using rr2_sep and no corner copies. In CUDA this is a little faster.
315
318
316
319
# Example
@@ -459,7 +462,7 @@ julia> # Note that a 2D propagator is always propagating by one Δz, thus corres
459
462
julia> p = propagator_col((100,50,30), sampling, λ)
0 commit comments