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-20163: Use PixelAreaBoundedField in fgcmcal calibration outputs #22

Merged
merged 2 commits into from Jan 10, 2020

Conversation

erykoff
Copy link
Contributor

@erykoff erykoff commented Nov 22, 2019

Use new features of afw, including PixelAreaBoundedField and ProductBoundedField to decompose photometric calibration into wcs jacobian component, star-flat (illumination correction) component, and gray component.

Copy link

@jmeyers314 jmeyers314 left a comment

Choose a reason for hiding this comment

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

LGTM. Just some minor comments.

def makeZptSchema(chebyshevSize):
def computeReferencePixelScale(camera):
"""
Compute the average pixel scale in the camera

Choose a reason for hiding this comment

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

Might just say median instead of average.

@@ -105,7 +105,7 @@ def test_fgcmcalTasks(self):
nGoodZp = 26
nOkZp = 26
nBadZp = 1206
nStdStars = 390
nStdStars = 389

Choose a reason for hiding this comment

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

It's not clear to me why these magic numbers are changing. Maybe insert a note in the commit message where they changed?

…ration.

With new ProductBoundedField and PixelAreaBoundedField in afw we can properly
decompose the photometric calibration into the constituent parts.  The jacobian
computations are done using camera geometry because of performance issues (this
is much, much faster), and tests show that this is more reliable, and
consistent at the 1 mmag level with the predictions from the SkyWcs. Because of
the changes in the way the photometric calibration is computed (wcs jacobian +
illumination correction + gray), the test values have changed slightly and the
number of "good" stars in the calibration changed.  Finally, additional
configuration parameters for automatically selecting per-cycle photometric cuts
were added.
@erykoff erykoff merged commit 261d5c6 into master Jan 10, 2020
@erykoff erykoff deleted the tickets/DM-20163 branch January 10, 2020 17:06
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