Skip to content

[IMG282] Auto find openbeam and darkcurrent based on metadata from ct

Zhang, Chen requested to merge IMG282_auto_find_obdc into next
  • 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 or dc_fnmatch to None.
  • load_data related unit tests are now using pytest fixture for temp data generation.
  • add new corresponding unit tests.

Merge request reports