Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.41 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.41 KB

libtilt

License PyPI Python Version CI codecov

Image processing for cryo-electron tomography in PyTorch

For developers

We advise to fork the repository and make a local clone of your fork. After setting up an environment (e.g. via miniconda), the development version can be installed with (-e runs an editable install):

python -m pip install -e '.[dev,test]'

Then ready pre-commits for automated code checks and styling:

pre-commit install

Before making any pull request please make sure all the unittests pass:

python -m pytest

The libtilt device_test decorator should be added to each test and tries to run the code on GPU. This can either be via CUDA or via the 'mps' backend for M1 chips. Please keep in mind that without a GPU available on your system, the code is not explicitly tested to run on GPU.