Feat/reproducibility
@karnem, @amunnich, @samartse, @qingtian, and FYI: @fangohr
This adds basic consistency testing for the correction notebooks of AGIPD and LPD, with reports also building into the documentation, see e.g:
and
for a summary of how things work.
Note that in the documentation example, I've included quite a few failure cases, which are not part of this commit into the artefacts directory, these are removed for the latest commit.
Next steps after this is review and merged:
- add tests for Jungfrau and FastCCD correction notebooks
- add tests for characterisation notebooks. We should likely think about mock calibration database handling there, which resolves requests to always the same data, and provides verification for submissions to it.
Setting to WIP until the two update MRs are merged
Edited by Steffen Hauf
Merge request reports
Activity
Filter activity
- tests/test_agipd.py 0 → 100644
2 import unittest 3 4 import numpy as np 5 import xmlrunner 6 7 from correction_base import CorrectionTestBase, args, get_artefact_dir 8 9 10 class TestAGIPDCorrection(CorrectionTestBase, unittest.TestCase): 11 detector = "AGIPD" 12 task = "CORRECT" 13 parms = {"in-folder": "/gpfs/exfel/exp/SPB/201831/p900039/raw/", 14 "run": 412, 15 "out-folder": "/gpfs/exfel/data/scratch/haufs/test/", 16 "calfile": "/gpfs/exfel/data/scratch/haufs/agipd_on_demand" 17 "/agipd_store.h5", - Resolved by Steffen Hauf
- Resolved by Steffen Hauf
- Resolved by Steffen Hauf
- Resolved by Steffen Hauf
- Resolved by Steffen Hauf
4 4 import numpy as np 5 5 import xmlrunner 6 6 7 from correction_base import CorrectionTestBase, args, get_artifact_dir 7 from correction_base import CorrectionTestBase, args, get_artefact_dir @karnem could you give this a review?
Please register or sign in to reply