Skip to content

European-XFEL/EXtra-geom

Repository files navigation

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.