Skip to content

DM-49673: Make spatialOrder config in piff per-band and add a minNPsfStar criterion for detector rejection#501

Closed
laurenam wants to merge 1 commit intomainfrom
tickets/DM-49673
Closed

DM-49673: Make spatialOrder config in piff per-band and add a minNPsfStar criterion for detector rejection#501
laurenam wants to merge 1 commit intomainfrom
tickets/DM-49673

Conversation

@laurenam
Copy link
Copy Markdown
Contributor

No description provided.

@laurenam laurenam changed the title DM-49673: Investigate a criterion for detector rejection based on nPsfStar DM-49673: Make spatialOrder config in piff per-band and add a minNPsfStar criterion for detector rejection Mar 25, 2025
@laurenam laurenam requested a review from PFLeget March 25, 2025 19:25
@@ -0,0 +1 @@
config.psf_determiner['piff'].spatialOrderPerBand = {"fallbadk": 2}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

there is a typo:

Suggested change
config.psf_determiner['piff'].spatialOrderPerBand = {"fallbadk": 2}
config.psf_determiner['piff'].spatialOrderPerBand = {"fallback": 2}

Copy link
Copy Markdown
Contributor Author

@laurenam laurenam Mar 25, 2025

Choose a reason for hiding this comment

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

Good catch! Fixed and checked:

$ pipetask build -p $DRP_PIPE_DIR/pipelines/HSC/DRP-RC2.yaml#finalizeCharacterizationDetector --show config="*piff*patialOr*"
Matching "*piff*patialOr*" without regard to case (append :NOIGNORECASE to prevent this)
### Configuration for task `finalizeCharacterizationDetector'
# Per-band spatial order for PSF kernel creation. Ignored if piffPsfConfigYaml is set.
config.psf_determiner['piff'].spatialOrderPerBand={'fallback': 2}

And it also prompted me to add the check for this field in the config validation in meas_extensions_piff 😅

This is to maintain current behavior.
@laurenam laurenam closed this Mar 26, 2025
@laurenam laurenam deleted the tickets/DM-49673 branch March 26, 2025 00:56
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.

2 participants