Ptychozoon: a GPU-accelerated python library for ptychography-enhanced x-ray fluorescence.
Ptychozoon uses CuPy for GPU-accelerated computation. CuPy requires CUDA runtime libraries that are not bundled with the pip wheel, so it must be installed via conda-forge first:
conda install -c conda-forge cupyThen install ptychozoon. It is recommended to install with qt dependencies, which will enable the use of GUIs for viewing the results of the analysis:
pip install ptychozoon[qt]To install with no optional dependencies:
pip install ptychozoonTo install the package for development, clone the git repository and create an editable install:
pip install -e ".[dev,qt]"import ptychozoon