Skip to content
Snippets Groups Projects

Restructure sub-modules

Merged Jens Lucht requested to merge restructure-modules into master
1 unresolved thread
Files
5
+ 1
1
@@ -85,7 +85,7 @@ class CTF:
GPU reconstruction with homogeneous object assumption and two-level regularization. Note, that with
``betadelta > 0`` the regularization of the low frequcies (first alpha entry) can be omitted.
>>> from hotopy.phase import CTF, Constraints
>>> from hotopy.holo import CTF, Constraints
>>> imshape = holograms.shape[-2:]
>>> ctf = CTF(imshape, fresnel_nums, alpha=[0, 5e-2], betadelta=1e-3, device="cuda")
>>> rec_phase = ctf(holograms).cpu().numpy() # gather reconstruction from GPU to CPU and wrap as NumPy ndarray.
Loading