Streak Finder algorithm for CBD experiment #2

Merged
augustin_s merged 46 commits from ext-dorofe_e/dap:chapman into main 2025-07-14 11:18:07 +02:00
Showing only changes of commit cca5decacc - Show all commits

View File

@@ -63,6 +63,10 @@ def calc_apply_whitefield_correction(results, data):
f"{error=}")
return
results["is_white_field_corrected"] = True
WF_METHODS[wf_method](data, whitefield_image)
try:
WF_METHODS[wf_method](data, whitefield_image)
except Exception as error:
print(f"ERROR: White field correction failed.\n"
f"{error=}")
else:
results["is_white_field_corrected"] = True