  The open-source PyNX toolkit [Favre-Nicolin et al (2011) arXiv:1010.2641,
Mandula et al (2016)] has been extended to provide tools for coherent X-ray
imaging data analysis and simulation. All calculations can be executed on
graphical processing units (GPU) to achieve high performance computing speeds.
This can be used for Coherent Diffraction Imaging (CDI), Ptychography and
wavefront propagation, in the far or near field regime. Moreover, all imaging
operations (propagation, projections, algorithm cycles..) can be used in Python
as simple mathematical operators, an approach which can be used to easily
combine basic algorithms in a tailored chain. Calculations can also be
distributed to multiple GPUs, e.g. for large Ptychography datasets.
Command-line scripts are also available for on-line CDI and Ptychography
analysis, either from raw beamline datasets or using the Coherent X-ray Imaging
data format [Maia (2012)].
