[AGIPD][CORRECT] FIX : Remove pc_bools flag condition from gain_correction
-
gain_correction()
function is not only doing PC gain corrections. - Adding
if any(agipd_corr.pc_bools):
for executinggain_correction()
doesn't make sense.
Description
Adding the conditional flag in the notebook is wrong and it can produce wrong data. And it adds to the mess of agipdlib.py non transparent correction functions.
This was lately added in the last release.
How Has This Been Tested?
Relevant Documents (optional)
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
Reviewers
Edited by Karim Ahmed