Skip to content

Pre-processing Python software for serial crystallography data.

Notifications You must be signed in to change notification settings

coquellen/NanoPeakCell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NanoPeakCell

==================

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.

Main features of NPC:

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

NPC dependencies:

*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)

Gui dependencies:

*PyQt4 (and hence Qt4) *pyqtgraph

Extra dependencies:

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.

Installation:

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

Extra Notes:

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)

About

Pre-processing Python software for serial crystallography data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages