Volume 53, Issue 5 pp. 1404-1413
computer programs

PyNX: high-performance computing toolkit for coherent X-ray imaging based on operators

Vincent Favre-Nicolin

Corresponding Author

Vincent Favre-Nicolin

ESRF, The European Synchrotron, 71 Avenue des Martyrs, 38000 Grenoble, France

Univ. Grenoble Alpes, Grenoble, France

Vincent Favre-Nicolin, e-mail: [email protected]Search for more papers by this author
Gaétan Girard

Gaétan Girard

ESRF, The European Synchrotron, 71 Avenue des Martyrs, 38000 Grenoble, France

CEA, IRIG-MEM, Nanostructures and Synchrotron Radiation Laboratory, F-38000 Grenoble, France

Search for more papers by this author
Steven Leake

Steven Leake

ESRF, The European Synchrotron, 71 Avenue des Martyrs, 38000 Grenoble, France

Search for more papers by this author
Jerome Carnis

Jerome Carnis

Deutsches Elektronen-Synchrotron (DESY), D-22607 Hamburg, Germany

Search for more papers by this author
Yuriy Chushkin

Yuriy Chushkin

ESRF, The European Synchrotron, 71 Avenue des Martyrs, 38000 Grenoble, France

Search for more papers by this author
Jerome Kieffer

Jerome Kieffer

ESRF, The European Synchrotron, 71 Avenue des Martyrs, 38000 Grenoble, France

Search for more papers by this author
Pierre Paleo

Pierre Paleo

ESRF, The European Synchrotron, 71 Avenue des Martyrs, 38000 Grenoble, France

Search for more papers by this author
Marie-Ingrid Richard

Marie-Ingrid Richard

ESRF, The European Synchrotron, 71 Avenue des Martyrs, 38000 Grenoble, France

Univ. Grenoble Alpes, Grenoble, France

CEA, IRIG-MEM, Nanostructures and Synchrotron Radiation Laboratory, F-38000 Grenoble, France

Search for more papers by this author
First published: 29 September 2020
Citations: 2

Abstract

The open-source PyNX toolkit has been extended to provide tools for coherent X-ray imaging data analysis and simulation. All calculations can be executed on graphical processing units (GPUs) to achieve high-performance computing speeds. The toolkit 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 implemented 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 data sets. Command-line scripts are available for on-line CDI and ptychography analysis, either from raw beamline data sets or using the coherent X-ray imaging data format.

The full text of this article hosted at iucr.org is unavailable due to technical difficulties.