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

refactor undeblended measurement into BaseMeasurementTask #59

Merged
merged 1 commit into from Dec 20, 2016

Conversation

djreiss
Copy link
Contributor

@djreiss djreiss commented Dec 16, 2016

This makes it available in the ForcedMeasurementTask as well as
SingleFrameMeasurementTask. Unfortunately, the actual measurement
iteration cannot live in BaseMeasurementTask because the forced
measurement requires iterating through two catalogs in sync, while
the single frame measurement only has one.

@@ -131,6 +147,8 @@ class BaseMeasurementConfig(lsst.pex.config.Config):
dtype=NoiseReplacerConfig,
doc="configuration that sets how to replace neighboring sources with noise"
)
undeblendedPrefix = lsst.pex.config.Field(dtype=str, default="undeblended_",
doc="Prefix to give undeblended plugins")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Would be easier to read if formatted the same as previous Field declarations - i.e. newline after "("

default=[],
doc="Plugins to run on undeblended image"
)
undeblendedPrefix = lsst.pex.config.Field(dtype=str, default="undeblended_",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Also here -- newline after "("

This makes it available in the ForcedMeasurementTask as well as
SingleFrameMeasurementTask. Unfortunately, the actual measurement
iteration cannot live in BaseMeasurementTask because the forced
measurement requires iterating through two catalogs in sync, while
the single frame measurement only has one.
@PaulPrice PaulPrice merged commit 656ff74 into master Dec 20, 2016
@ktlim ktlim deleted the tickets/DM-7889 branch August 25, 2018 06: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
2 participants