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-31445: Enable GAaP PSF photometry before apCorr #338

Merged
merged 1 commit into from Aug 19, 2021

Conversation

arunkannawadi
Copy link
Member

doPsfPhotometry must be set to True prior to registering the plugin for
aperture corrections.

doPsfPhotometry must be set to True prior to registering the plugin for
aperture corrections.
@@ -35,6 +35,9 @@
config.catalogCalculation.plugins.names = ["base_ClassificationExtendedness"]
config.measurement.slots.psfFlux = "base_PsfFlux"

# Enable PSF photometry after PSF-Gaussianization in the `ext_gaap_GaapFlux` plugin
config.measurement.plugins["ext_gaap_GaapFlux"].doPsfPhotometry = True

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm just curious why this reordering was necessary? And if there's some missing documentation, can that be ticketed?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted this to appear before doUndeblended function call on the GAaP plugin. Basically, this has to be set to True before the getAllGaapResultNames() method is called. It may not have any effect whatsoever, but wanted to be doubly safe.

@arunkannawadi arunkannawadi changed the title Enable GAaP PSF photometry before apCorr DM-31445: Enable GAaP PSF photometry before apCorr Aug 19, 2021
@arunkannawadi arunkannawadi merged commit 8b20a6d into master Aug 19, 2021
@arunkannawadi arunkannawadi deleted the tickets/DM-31445 branch August 19, 2021 03:57
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

2 participants