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-4692: Refactor ProcessCcdTask and sub-tasks #31

Merged
merged 11 commits into from Mar 8, 2016
Merged

Conversation

PaulPrice
Copy link
Contributor

No description provided.

@PaulPrice
Copy link
Contributor Author

Third commit ("Refactor ProcessCcdTask and sub-tasks") is far too large (1600+ lines added). Each of the bullet items should be a separate commit as far as possible.

@PaulPrice
Copy link
Contributor Author

All commit messages should be in the imperative (e.g,. not "removed", but "remove").

from lsst.pipe.tasks.calibrate import CalibrateTask

np.random.seed(1)

FilterName = "r"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Shouldn't have a leading capital, which is reserved for class names.

@r-owen r-owen force-pushed the tickets/DM-4692 branch 12 times, most recently from 16ea159 to 65bd475 Compare March 6, 2016 00:10
@@ -0,0 +1,493 @@
#
# LSST Data Management System
# Copyright 2008-2015 AURA/LSST.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's 2016.

#
# You should have received a copy of the LSST License Statement and
# the GNU General Public License along with this program. If not,
# see <http://www.lsstcorp.org/LegalNotices/>.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Modern version of this notice uses https://...

@r-owen r-owen force-pushed the tickets/DM-4692 branch 2 times, most recently from 8ad73b9 to ede56a4 Compare March 8, 2016 21:43
@r-owen r-owen force-pushed the tickets/DM-4692 branch 2 times, most recently from ffc2ee9 to 84f6c0a Compare March 8, 2016 22:03
Document values returned by the "run" and "getZeroPoint" methods
of PhotoCalTask. The information was incomplete for "run" and missing
for "getZeroPoint".
As per RFC-136: ProcessCoaddTask is an outdated technique
for measuring sources on coadds. The preferred technique
is multi-band processing. The continued existence of
ProcessCoaddTask is confusing.
Add a new task DetectAndMeasureTask to encapsulate the common
sequence: detect and deblend sources and perform single-frame meas.
Add new command-line task CharacterizeImageTask to measure background,
measure PSF and aperture correction, repair cosmic rays,
and compute the icSrc catalog
Change default star selector in MeasurePsfTask from "secondMoment"
to "objectSize" because the latter works better.
Expand documentation for MeasurePsfConfig.reserveFraction
Remove obsolete "to do" warning message
Rewrite CalibrateTask as a command-line task whose run method
performs persistence and calls the calibrate method to do the work.
Rewrite ProcessCcdTask to call CharacterizeImageTask and the rewritten
CalibrateTask, and inherit from CmdLineTask, not ProcessImageTask.
Move InitialPsfConfig from ProcessImageTask to SnapCombineTask
so that no code uses ProcessImageTask.
Delete ProcessImageTask.
Update TransformMeasurementTask, tests/testTransfor.py,
and examples/calibrateTask.py for changes to CalibrateTask.
@r-owen r-owen merged commit 6c710d0 into master Mar 8, 2016
@ktlim ktlim deleted the tickets/DM-4692 branch August 25, 2018 06:46
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

4 participants