8000 OBJTYPE != TGT should get a ZWARN flag · Issue #328 · desihub/redrock · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

OBJTYPE != TGT should get a ZWARN flag #328

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

Open
sbailey opened this issue Mar 24, 2025 · 0 comments
Open

OBJTYPE != TGT should get a ZWARN flag #328

sbailey opened this issue Mar 24, 2025 · 0 comments

Comments

@sbailey
Copy link
Collaborator
sbailey commented Mar 24, 2025

zall-tilecumulative-loa.fits has 65 objects with OBJTYPE != 'TGT' and ZWARN==0. These have OBJTYPE=='NON' from special/dark tiles 82634 and 82635 and should get a ZWARN flag.

Proposed rules:

if OBJTYPE == 'SKY':
    set ZWARN bit 0 (SKY)
elif OBJTYPE != 'TGT':
    set ZWARN bit 8 (BAD_TARGET)

that will catch OBJTYPE = '', None, 'NON', 'BAD', etc. all as going to BAD_TARGET.

Update: there are an additional 16 targets with OBJTYPE=='NON' and ZWARN==4 (bit 2, SMALL_DELTA_CHI2), which should also have bit 8 set.

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

No branches or pull requests

1 participant
0