Skip to main content
`Ctrl`+`K`

# API Reference

- `pynx.cdi`: Coherent Diffraction Imaging
- `pynx.processing_unit`: detecting, initializing and using computing or graphical processing units
- `pynx.ptycho`: 2D Ptychography
- `pynx.utils`: useful functions for fft, prime factor, pattern simulation, plotting
- `pynx.wavefront`: Basic wavefront propagation (near and far field). Fresnel zone plate simulations

## API Reference (legacy)

- `pynx.scattering`: scattering calculations from vectors of xyz atomic positions and hkl values