[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:
Relates
relates to PIPE2D-840 Identify defects in PFS data Open
relates to INSTRM-3 Create defect list for PFS CCDs Done
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.

Generated at Sat Feb 10 15:48:54 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.