Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-41316: Refactor overscan task for IsrTaskLSST into serial/parallel tasks. #290

Merged
merged 23 commits into from Jan 12, 2024

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Dec 8, 2023

This also adds crosstalk correction in the parallel overscan region.

@erykoff erykoff force-pushed the tickets/DM-41316 branch 2 times, most recently from 9949fd7 to ae8e48e Compare December 14, 2023 17:58
Copy link
Contributor

@czwa czwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments. The only potential issue is the handling of crosstalk units in the future.

python/lsst/ip/isr/isrTaskLSST.py Show resolved Hide resolved
python/lsst/ip/isr/isrTaskLSST.py Outdated Show resolved Hide resolved
python/lsst/ip/isr/isrTaskLSST.py Outdated Show resolved Hide resolved
@@ -1014,7 +1268,7 @@ def run(self, *, ccdExposure, dnlLUT=None, bias=None, deferredChargeCalib=None,

if self.config.doVariance:
# Input units: electrons
self.variancePlane(ccdExposure, detector, overscans, ptc)
self.variancePlane(ccdExposure, detector, serialOverscans, ptc)

if self.config.doCrosstalk:
# Input units: electrons
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This can't be correct. This may be an issue with the task not being up-to-date with the latest boxes, but this cannot be in electrons if the previous crosstalk correction is in ADU (as indicated above). Any CT non-linearity will make this unit difference a problem.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The order here is not correct according to our latest calibration boxes, that's correct. I don't think it's good for this ticket to reorder things (that's out of scope) but we should make sure that the ordering is fixed prior to/with the testing updates.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DM-42459 is the ticket.

python/lsst/ip/isr/overscan.py Outdated Show resolved Hide resolved
python/lsst/ip/isr/overscan.py Outdated Show resolved Hide resolved
python/lsst/ip/isr/overscan.py Show resolved Hide resolved
@erykoff erykoff merged commit c206499 into main Jan 12, 2024
2 checks passed
@erykoff erykoff deleted the tickets/DM-41316 branch January 12, 2024 01:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants