Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base
-
Labels:
-
Story Points:6
-
Epic Link:
-
Sprint:Measurement Sprint 1
-
Team:Data Release Production
Description
After looking at it a bit more, I think we should refactor the current meas_base forced photometry task to separate the CmdLineTask from the Measurement task. This will allow the forced measurement task to share a common base class with SingleFrameMeasurementTask (allowing us to move the callPlugin free functions into that base class), and give us better parallels with existing tasks:
- ProcesImageForcedTask (my proposed name for the base command-line task) will be more similar to ProcessImageTask. We'll also have ProcessForcedCcdTask and ProcessForcedCoaddTask.
- ForcedMeasurementTask will be more similar to SingleFrameMeasurementTask.
In short, I think this will both clean up the ugliness in callPlugin and make the whole hierarchy easier for newcomers to understand.
Completed the refactoring and renaming of classes. Did not rename any of the python modules (forcedImage, forcedCcd, or forcedCoadd) even though I don't like any of them. We can change those now or later.
On tickets/
DM-241meas_base:
bin/forcedCcd.py | 4 +-
, 117 deletions
bin/forcedCoadd.py | 4 +-
python/lsst/meas/base/forcedCcd.py | 18 ++--
python/lsst/meas/base/forcedCoadd.py | 12 +--
python/lsst/meas/base/forcedImage.py | 175 +++++++++++++++++++---------------
tests/testForced.py | 34 +++----
6 files changed, 130 insertions
obs_lsstSim:
policy/LsstSimMapper.paf | 64 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions
Please review these 8 new datasets. I'm not really sure they are in the right place.