Skip to content

Latest commit

 

History

History
72 lines (43 loc) · 1.96 KB

README.rst

File metadata and controls

72 lines (43 loc) · 1.96 KB

cxiapi

Documentation Status

An API and analysis toolkit for CXI dataset, including hitfinding, calibration and size distribution.

Installation for EuXFEL

  1. Load exfel module.
$ module load exfel exfel_anaconda3
  1. Git clone this repository and install cxiapi.
$ git clone https://github.com/JunCEEE/cxiapi.git
$ cd cxiapi
$ pip install --user ./

Create cxi files for analysis

Take run 0372 as an example:

$ extra-data-make-virtual-cxi /gpfs/exfel/exp/SPB/202130/p900201/raw/r0372 -o r0372.cxi

Calculate hit scores and save these frame scores in hits.h5 files

After installing the newest cxiapi, get the hit scores from a run (e.g. 372):

$ getFrameScores  372

Analyze the hit scores

Example hit analysis jupyter notebook: https://github.com/JunCEEE/cxiapi/blob/main/examples/hitAnalyzer.ipynb

Some basic API usage examples: https://github.com/JunCEEE/cxiapi/blob/main/examples/newCXI.ipynb

Credits

Juncheng E at European XFEL writes the codes.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.