new modular data corrections for any neutron or xray technique that produces 1D or 2D scattering/diffraction/imaging data
pip install modacor
You can also install the in-development version with:
pip install git+https://github.com/BAMresearch/modacor.git@main
https://BAMresearch.github.io/modacor
- For coding contributions, we strongly recommend:
- using flake8 and/or black for consistent formatting.
- writing tests for every added functionality -> towards test-driven coding practices.
To run all the tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows | set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other | PYTEST_ADDOPTS=--cov-append tox |