pypty.direct¶
wdd
¶
Perform Wigner Distribution Deconvolution (WDD).
This function applies Wigner Distribution Deconvolution to the provided data,
allowing for enhanced reconstruction of complex objects and probes. It handles both
GPU (via CuPy) and CPU (via NumPy) computations based on the availability of CuPy.
The pypty_params dictionary must be prepared via the initialize module.
| PARAMETER | DESCRIPTION |
|---|---|
pypty_params
|
Dictionary containing calibrated parameters, including paths and settings for data processing.
TYPE:
|
eps_wiener
|
Epsilon parameter for the Wiener filter. Default is 1e-3.
TYPE:
|
thresh
|
If provided,
TYPE:
|
save
|
Whether to save output files (False by default). Ignored if
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
deconvolved_object
|
2D deconvolved complex object.
TYPE:
|
Notes
Make sure pypty_params includes all necessary paths and data arrays prior
to calling this function.