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

Fix NaiveDipoleCentroid logic #31

Merged
merged 1 commit into from Aug 31, 2016
Merged

Fix NaiveDipoleCentroid logic #31

merged 1 commit into from Aug 31, 2016

Conversation

AstroVPK
Copy link

Only fit dipoles to footprints with a pos. and neg. peak

remove debug statements; add other default plugins

@@ -102,10 +107,16 @@ def setDefaults(self):
"base_PixelFlags",
"base_SkyCoord",
"base_PsfFlux",
"base_GaussianCentroid",
#"base_GaussianFlux",
Copy link
Author

Choose a reason for hiding this comment

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

This should be removed if it's not required.

Copy link
Contributor

Choose a reason for hiding this comment

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

base_GaussianFlux was commented out because it leads to a schema set-up failure:

Alias for 'slot_Shape_flag' must be defined before initializing 'base_GaussianFlux' plugin. {0}
lsst::pex::exceptions::LogicError: 'Alias for 'slot_Shape_flag' must be defined before initializing 'base_GaussianFlux' plugin.'

I'll remove this line now, but I've filed a ticket (DM-7458), as I would like to add base_GaussianFlux to the default list of plugins.

Copy link
Member

Choose a reason for hiding this comment

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

To run base_GaussianFlux, you'll need to run a shape algorithm (e.g. base_SdssShape), and set the shape slot to point to it (...config.measurement.slots.shape = 'base_SdssShape').

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks, @TallJimbo -- this should be an easy fix.

Only fit dipoles to footprints with a pos. and neg. peak
Remove debug statements
Add other default plugins
@djreiss djreiss merged commit ad0d2d3 into master Aug 31, 2016
@ktlim ktlim deleted the tickets/DM-7376 branch August 25, 2018 06:44
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

5 participants