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-15862: Reduce ISR code duplication between ip_isr, obs_subaru, and obs_decam #100

Merged
merged 1 commit into from Jan 4, 2019

Conversation

czwa
Copy link
Contributor

@czwa czwa commented Nov 29, 2018

The DECam specific ISR task class, as well as the CP ISR class, have
been removed in favor of the one in ip_isr. There are some changes in
the ISR ordering: the variance is now constructed before the
linearization instead of before; the crosstalk is performed after
assembly, bias subtraction, variance construction, and linearization.
To support this change, the DECam crosstalk code has been altered to
ensure the corrections are aligned with the crosstalk ghosts.

The isr.py configuration has been updated to explicitly list all
options used for DECam. The DecamMapper has had entries for ISR
thumbnails and the ISR metadata added to allow these products to be
persisted.

Copy link
Contributor

@SimonKrughoff SimonKrughoff left a comment

Choose a reason for hiding this comment

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

I think this ticket should be used by the AP team to run the ap_verify (at least ci version) before this merges. I want to make sure it doesn't change their numbers too much.

Comments are largely (exclusively?) editorial.

config/isr.py Outdated Show resolved Hide resolved
config/isr.py Outdated Show resolved Hide resolved
config/isr.py Show resolved Hide resolved
config/processCcd.py Outdated Show resolved Hide resolved
config/processCcd.py Outdated Show resolved Hide resolved
config/processCcdCpIsr.py Outdated Show resolved Hide resolved
policy/DecamMapper.yaml Outdated Show resolved Hide resolved
policy/DecamMapper.yaml Outdated Show resolved Hide resolved
python/lsst/obs/decam/isr.py Outdated Show resolved Hide resolved
tests/test_crosstalk.py Outdated Show resolved Hide resolved
@czwa czwa force-pushed the tickets/DM-15862 branch 4 times, most recently from b435ada to 88f710c Compare December 14, 2018 21:38
The ISR code was split between ip_isr and the obs_ packages, with the
ip_isr and obs_subaru containing parallel ISR reduction pathways.
This ticket merges those pathways into a single set of ISR functions
in the ip_isr package, removing the duplication of code.  The merged
codebase also makes additional useful functions from the obs_subaru
ISR available to other cameras, and the new ISR code now profiles
debug points, thumbnail images, and post-correction statistics to
check processing quality.

The DECam specific ISR task class, as well as the CP ISR class, have
been removed in favor of the one in ip_isr.  There are some changes in
the ISR ordering: the variance is now constructed before the
linearization instead of before.  The crosstalk is performed before
assembly, bias subtraction, variance construction, and linearization
to better match previous processing results.  To support this change,
the DECam crosstalk code has been updated to ensure the corrections
are aligned with the crosstalk ghosts.

The isr.py configuration has been updated to explicitly list all
options used for DECam.  The DecamMapper has had entries for ISR
thumbnails and the ISR metadata added to allow these products to be
persisted.
@czwa czwa merged commit 0286324 into master Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants