Fix Version/s: None
I've now succeeded in generating the CTI corrections for 3 CCDs from the BOT run 13144. With Adam Snyder, we did the comparison below(CTI_Comparison.pdf) of the overscan analysis of CCD 11, comparing to Adam's original code. This seems to compare well, so that part of the code looks good.
I tried applying the correction, but that is blocked by
DM-36280. However, I was able to apply the correction in a notebook, and I discovered two bugs in deferredCharge.py. At this point in flipData, the two dictionary calls to X_FLIP and Y_FLIP should use square brackets, not parentheses:
Also, at this point:
I believe that
image[amp.getBBox()].array[:, :] = correctedAmpData[:, :]
image[amp.getRawBBox()].array[:, :] = correctedAmpData[:, :]
After making these changes, the code ran and applied the CTI correction. The results on two amps are shown in the attached CTI_Test_3021120700215_28Sep22.pdf. I still don't think this correction is right, and am working with Adam to understand, but at least it is now running end-to-end.
|Field||Original Value||New Value|
|Status||To Do [ 10001 ]||In Progress [ 3 ]|
|Resolution||Done [ 10000 ]|
|Status||In Progress [ 3 ]||Done [ 10002 ]|
|Reviewers||Christopher Waters [ cwaters ]|
|Assignee||Christopher Waters [ cwaters ]||Craig Lage [ cslage ]|