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

tickets/DM-47163: Cut on fraction of bad pixels; run stamp selection during CalcZernikeTask by default #277

Merged
merged 16 commits into from
Oct 28, 2024

Conversation

jfcrenshaw
Copy link
Collaborator

No description provided.

@jfcrenshaw jfcrenshaw requested review from jmeyers314 and suberlak and removed request for jmeyers314 October 26, 2024 22:47
Copy link
Contributor

@suberlak suberlak left a comment

Choose a reason for hiding this comment

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

Thanks for the update!

python/lsst/ts/wep/task/cutOutDonutsBase.py Outdated Show resolved Hide resolved
@@ -62,13 +68,17 @@ class DonutStampSelectorTaskConfig(pexConfig.Config):
default=3.5,
doc=str("The entropy threshold to use (keep donuts only below the threshold)."),
)
maxFracBadPixels = pexConfig.Field(
dtype=float,
default=0.0,
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be really good to run that against even a simulation / early real data. I'm worried that with such strict requirement we may get nothing passing atm.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Working on this

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Checked this works

python/lsst/ts/wep/task/donutStampSelectorTask.py Outdated Show resolved Hide resolved
@jfcrenshaw
Copy link
Collaborator Author

New failures arose after Adding frac_bad_pix to calcZernikes output.

Also tests on ComCam data revealed that some pixel fractions are > 1, which shouldn't happen. Will investigate soon.

@jfcrenshaw jfcrenshaw merged commit 677cdd6 into develop Oct 28, 2024
4 checks passed
@jfcrenshaw jfcrenshaw deleted the tickets/DM-47163 branch October 28, 2024 01:11
jfcrenshaw added a commit that referenced this pull request Oct 28, 2024
* Change zernikes output to QTable.

* Add roundtrip for VisitInfo <-> dict

* Remove VisitInfo from CutOutDonutsScienceSensorTask connections. Update addVisitInfoToCatTable test.

* Add round trip dict to visit info test.

* Add exposure time to visit_info dict. Add all keys to round trip test.

* Add necessary metadata to tasks downstream of donutTables.

* Update production pipeline for ComCam.

* Enable RubinTV upload on production pipelines

* Remove MJD assertion between intra and extra donut stamps.

* tickets/DM-46117: single-side-of-focus pipeline (#273)

* tickets/DM-47163: Cut on fraction of bad pixels; run stamp selection during CalcZernikeTask by default (#277)

* Switch to new ISR task

* Fixed bug where original mask bits aren't persisted in stamps.

* Tickets/DM-47188: Fix bug where CalcZernikesTask fails if number of intra/extra stamps isn't equal (#279)

* Increase stamp size in rapid analysis pipeline so donut edges aren't clipped (#280)

---------

Co-authored-by: J. Bryce Kalmbach <[email protected]>
Co-authored-by: Josh Meyers <[email protected]>
Co-authored-by: Merlin Fisher-Levine <[email protected]>
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.

3 participants