[PIPE2D-145] in genDefectListTask.py use afwDetect to find bad pixels Created: 09/Jan/17 Updated: 15/May/21 Resolved: 27/Mar/21 |
|
| Status: | Won't Fix |
| Project: | DRP 2-D Pipeline |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Story | Priority: | Major |
| Reporter: | aritter | Assignee: | aritter |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Story Points: | 2 | ||||||||||||
| Description |
|
please use afwDetect to find the defects, then lsst::afw::detection::footprintToBBoxList to generate the defects (or simply iterate over the Footprints if you're unfamiliar with that function). Actually, you can use ip.isr.defectListFromFootprintList You should almost never be iterating over images pixel-by-pixel at the python level. If any parts of drp_stella are doing so, please open issues to fix them. |
| Comments |
| Comment by price [ 27/Mar/21 ] |
|
I'm hoping LSST will provide code to find defects. If not, then we'll raise this when we need it. |