==================
NanoPeakCell (NPC) is a python-based software intended to pre-process your serial crystallography data into ready-to-be-inedexed images with CrystFEL, cctbx.xfel and nXDS. NPC is able to process data recorded at SACLA and LCLS XFELS, as well as data recorded at any synchrotron beamline. A graphical interface is deployed to visualize your raw and pre-processed data.
Hit Finding based on a user-defined threshold. Background subtraction performed on a per-frame basis (using pyFAI azimuthal integration) Bragg peaks localisation (sub-pixel refinement) Conversion into the appropriate format for further data processing: h5 --> crystFEL pickle --> cctbx.xfel / cppxfel cbf --> nXDS
*numpy (>1.7) *scipy *h5py (and therefore hdf5) *pyFAI https://github.com/kif/pyFAI *fabio https://github.com/kif/fabio *libtbx / scitbx (come with phenix)
*PyQt4 (and hence Qt4) *pyqtgraph
NPC is multiprocessed via the multiprocess module of python, or via mpi4py (to be run on multiple nodes on large clusters) If you want to enable this feature, you will need some MPI library (Open-MP or MPICH) and mpi4py.
As any other python package: python setup.py build python setup.py install
If you do not have such privileges, issue the following command: python setup.py install --user npc and npg will then be avialable in $HOME/.local/bin
If you intend to work with an Eiger detector; please compile this extra library https://github.com/dectris/HDF5Plugin and you might also need the bitshuffle library (Please see with the beamline responsible)