European-XFEL / EXtra-geom

Use EuXFEL detector geometry to assemble images
https://extra-geom.rtfd.io
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link
x-ray x-ray-images

Build Status codecov

Python tools to work with EuXFEL detector geometry and assemble detector images.

Documentation

Installing

EXtra-geom is available on our Anaconda installation on the Maxwell cluster:

module load exfel exfel_anaconda3

You can also install it from PyPI to use in other environments with Python 3.6 or later:

pip install extra_geom

If you get a permissions error, add the --user flag to that command.

There is one optional feature: install extra_geom[interpolate] to use the position_modules_interpolate method (slow).

Contributing

Tests

Tests can be run as follows:

python3 -m pytest -v --pyargs extra_geom

In the source directory, you can also omit --pyargs extra_geom.