Skip to content

Commit

Permalink
Add new manual defect types.
Browse files Browse the repository at this point in the history
  • Loading branch information
erykoff committed Jan 29, 2025
1 parent d1b3b88 commit 0e89bdf
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions python/lsst/obs/lsst/script/write_comcam_manual_defects.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,40 @@

box_xywh = []

# Define the manual defects from DM-47365.
if det.getId() == 1:
# Define the manual defects from DM-47365 and DM-48174.
if det.getId() == 0:
# Ardenti Negans Imperfecta (incomplete glowing negative column).
box_xywh.extend(
(
(680, 2000, 11, 966),
),
)
elif det.getId() == 1:
# Phosphorescence.
box_xywh.extend(
(
(0, 1300, 350, 2700),
(3650, 3600, 417, 400),
),
)
elif det.getId() == 3:
# Warm corner.
box_xywh.extend(
(
(3600, 0, 472, 900),
),
)
elif det.getId() == 4:
# Unmasked dark column.
box_xywh.extend(
(
(3400, 2000, 15, 2000),
(3389, 2000, 29, 2000),
),
)
# Vampire trail.
box_xywh.extend(
(
(2534, 0, 7, 2000),
),
)
elif det.getId() == 5:
Expand Down

0 comments on commit 0e89bdf

Please sign in to comment.