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

Review for tickets/DM-3114: add aperture correction to SdssCalibrateTask #3

Merged
merged 2 commits into from Jul 29, 2015

Conversation

TallJimbo
Copy link
Member

No description provided.

@TallJimbo
Copy link
Member Author

In the future, please put purely cosmetic changes from behavior changes (even cleanup behavioral changes).

@@ -255,6 +309,7 @@ def run(self, exposure, defects=None, idFactory=None):
backgrounds.append(bg)
self.display('background', exposure=exposure)

# Make both tables from the same detRet, since detRet can only be run once
Copy link
Member Author

Choose a reason for hiding this comment

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

Quibble: detRet isn't run once, detection is.

Copy link
Contributor

Choose a reason for hiding this comment

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

I got that quote from pipe_tasks CalibrateTask. I'll fix it in both places.

@r-owen r-owen force-pushed the tickets/DM-3114 branch 3 times, most recently from 357e24e to 98c057a Compare July 28, 2015 20:33
Add the newly standard subtask to measure aperture correction and boolean config to control it.
Override the default field that MeasureApCorr uses to determine stars that are suitable.
By default MeasureApCorr uses "calib_psfUsed", but PSF determination sets this field
and PSF determination is rarely run on SDSS data, so change the default to "calib_psfCandidate"
(which is set by star selection, which is always run on SDSS data).

Also rename the field calib_psf_used to calib_psfUsed and calib_psf_candidate
to calib_psfCandidate to match the standard CalibrateTask. This is relevant
because one of these fields is used to measure aperture correction by default
in CalibrateTask and the other by default in SdssCalibrateTask.
SdssCalibrateTask had diverged from CalibrateTask in various minor ways
and this restores some of the similarity, including:
- Return photocal data in run's results
- Put calibration info into the task metadata
- Cosmetic changes
Some changes were retained that could perhaps have been removed,
the most significant of which is that the SDSS version uses
AstrometryTask instead of ANetAstrometryTask.
@r-owen r-owen merged commit 9ab7db6 into master Jul 29, 2015
@ktlim ktlim deleted the tickets/DM-3114 branch August 25, 2018 05:50
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