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
Conversation
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. |
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" |
There was a problem hiding this comment.
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.
16ea159
to
65bd475
Compare
@@ -0,0 +1,493 @@ | |||
# | |||
# LSST Data Management System | |||
# Copyright 2008-2015 AURA/LSST. |
There was a problem hiding this comment.
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/>. |
There was a problem hiding this comment.
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://...
8ad73b9
to
ede56a4
Compare
This makes it easier to instantiate in unit tests.
ffc2ee9
to
84f6c0a
Compare
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.
No description provided.