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-37622: changes for HSMshape as the default #129

Closed
wants to merge 1 commit into from

Conversation

kherner
Copy link
Contributor

@kherner kherner commented Jan 20, 2023

No description provided.

import lsst.meas.extensions.shapeHSM
config.measurement.slots.psfShape = "ext_shapeHSM_HsmPsfMoments"
config.measurement.slots.shape = "ext_shapeHSM_HsmSourceMoments"
config.measurement.plugins.names |= ["ext_shapeHSM_HsmSourceMoments", "ext_shapeHSM_HsmPsfMoments"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why can't we make these changes in DetectAndMeasureConfig directly? It's a diffim-specific task, and we probably want its default config to be appropriate for measuring on difference images.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Agreed; I've opened a PR for ip_diffim to do just that: lsst/ip_diffim#247

import lsst.meas.extensions.shapeHSM
config.measurement.slots.psfShape = "ext_shapeHSM_HsmPsfMoments"
config.measurement.slots.shape = "ext_shapeHSM_HsmSourceMoments"
config.measurement.plugins.names |= ["ext_shapeHSM_HsmSourceMoments", "ext_shapeHSM_HsmPsfMoments"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Same comment here: we should just set this in the Task Config setDefaults.

Copy link
Contributor Author

@kherner kherner Jan 28, 2023

Choose a reason for hiding this comment

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

Done in the ip_diffim PR. I'm probably going to just cancel/close this PR and delete the branch entirely without merging it.

@kherner
Copy link
Contributor Author

kherner commented Jan 28, 2023

We're going to do the changes in the setDefaults function for DetectAndMeasureConfig in detectAndMeasure.py, so we don't need this branch or PR now.

@kherner kherner closed this Jan 28, 2023
@kherner kherner deleted the tickets/DM-37622 branch January 28, 2023 07:53
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