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

MASKBITS: header cards are not self-consistent #735

Open
dstndstn opened this issue Jan 29, 2025 · 1 comment
Open

MASKBITS: header cards are not self-consistent #735

dstndstn opened this issue Jan 29, 2025 · 1 comment

Comments

@dstndstn
Copy link
Member

eg "SATUR" vs "SAT", "ALLMASK" vs "ALL"

COMMENT maskbits bits:
MB_NPRIM=                    1 / maskbits: not primary brick area
MB_BRIGH=                    2 / maskbits: bright star nearby
MB_WISE1=                  256 / maskbits: WISE W1 (all masks)
MB_WISE2=                  512 / maskbits: WISE W2 (all masks)
MB_BAIL =                 1024 / maskbits: Bailed out processing
MB_MED  =                 2048 / maskbits: medium-bright star
MB_GAL  =                 4096 / maskbits: SGA large galaxy
MB_CLUST=                 8192 / maskbits: Globular cluster
MB_SUBBL=                65536 / maskbits: large blobs broken up
HIERARCH MB_SAT_M411=                    4 / maskbits: M411 band saturated
HIERARCH MB_ALL_M411=                   32 / maskbits: any ALLMASK_M411 bit set
HIERARCH MB_SAT_M438=                    8 / maskbits: M438 band saturated
HIERARCH MB_ALL_M438=                   64 / maskbits: any ALLMASK_M438 bit set
HIERARCH MB_SAT_M464=                   16 / maskbits: M464 band saturated
HIERARCH MB_ALL_M464=                  128 / maskbits: any ALLMASK_M464 bit set
HIERARCH MB_SAT_M490=                16384 / maskbits: M490 band saturated
HIERARCH MB_ALL_M490=                32768 / maskbits: any ALLMASK_M490 bit set
HIERARCH MB_SAT_M517=               131072 / maskbits: M517 band saturated
HIERARCH MB_ALL_M517=               262144 / maskbits: any ALLMASK_M517 bit set
MBIT_0  = 'NPRIMARY'           / maskbits bit 0 (0x1): not primary brick area
MBIT_1  = 'BRIGHT'             / maskbits bit 1 (0x2): bright star nearby
MBIT_2  = 'SATUR_M411'         / maskbits bit 2 (0x4): M411 band saturated
MBIT_3  = 'SATUR_M438'         / maskbits bit 3 (0x8): M438 band saturated
MBIT_4  = 'SATUR_M464'         / maskbits bit 4 (0x10): M464 band saturated
MBIT_5  = 'ALLMASK_M411'       / maskbits bit 5 (0x20): any ALLMASK_M411 bit set
MBIT_6  = 'ALLMASK_M438'       / maskbits bit 6 (0x40): any ALLMASK_M438 bit set
MBIT_7  = 'ALLMASK_M464'       / maskbits bit 7 (0x80): any ALLMASK_M464 bit set
MBIT_8  = 'WISEM1'             / maskbits bit 8 (0x100): WISE W1 (all masks)
MBIT_9  = 'WISEM2'             / maskbits bit 9 (0x200): WISE W2 (all masks)
MBIT_10 = 'BAILOUT'            / maskbits bit 10 (0x400): Bailed out processing
MBIT_11 = 'MEDIUM'             / maskbits bit 11 (0x800): medium-bright star
MBIT_12 = 'GALAXY'             / maskbits bit 12 (0x1000): SGA large galaxy
MBIT_13 = 'CLUSTER'            / maskbits bit 13 (0x2000): Globular cluster
MBIT_14 = 'SATUR_M490'         / maskbits bit 14 (0x4000): M490 band saturated
MBIT_15 = 'ALLMASK_M490'       / maskbits bit 15 (0x8000): any ALLMASK_M490 bit'
MBIT_16 = 'SUB_BLOB'           / maskbits bit 16 (0x10000): large blobs broken '
MBIT_17 = 'SATUR_M517'         / maskbits bit 17 (0x20000): M517 band saturated
MBIT_18 = 'ALLMASK_M517'       / maskbits bit 18 (0x40000): any ALLMASK_M517 bi'
@dstndstn
Copy link
Member Author

also WISEM1 -> WISE1

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