[IMG282] Auto find openbeam and darkcurrent based on metadata from ct
- Original Gitlab story: IMG282
This PR introduces the following changes:
-
load_data
now can auto detect open beam (ob) and dark current (dc) files based on the metadata in ct file.- this feature is triggered by setting
ob_fnmatch
ordc_fnmatch
to None.
- this feature is triggered by setting
-
load_data
related unit tests are now using pytest fixture for temp data generation. - add new corresponding unit tests.