Hi all
I’m currently analysing the masks from the reduced DECam images using the LSST pipeline (gen3), and I am having some trouble interpreting its values.
Here is an example of a reduced image from DECam in one detector, with the masks displayed in 70% opacity and scaled with asinh.
The magenta circle marks the galaxy I’m interested in. If I do a 30x30 pixel cutout surrounding the galaxy, I obtain the following stamp:
The mask associated with the stamp is:
[[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]
[1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056 1056
1056 1056]], bbox=(minimum=(79, 1925), maximum=(108, 1954)), maskPlaneDict={'BAD': 0, 'CR': 3, 'CROSSTALK': 9, 'DETECTED': 5, 'DETECTED_NEGATIVE': 6, 'EDGE': 4, 'INTRP': 2, 'NOT_DEBLENDED': 10, 'NO_DATA': 8, 'SAT': 1, 'SUSPECT': 7, 'UNMASKEDNAN': 11}
Here arises my confusion, from the mask dictionary I would (in principle) understand that this source is simultaneously DETECTED (5), DETECTED NEGATIVE (6), BAD (0) and SAT (1) or NOT DEBLENDED (10). At the same time, the color displayed in the stamp looks green, which according in the dictionary implies that is saturated or INTRP.
{'BAD': 'red',
'CR': 'magenta',
'EDGE': 'yellow',
'INTERPOLATED': 'green',
'SATURATED': 'green',
'DETECTED': 'blue',
'DETECTED_NEGATIVE': 'cyan',
'SUSPECT': 'yellow',
'NO_DATA': 'orange',
'INTRP': 'green',
'SAT': 'green'}
I would like to hear your suggestions about how to effectively interpret these masks, so I can automate this process and not revise the masks for all galaxies to understand what the mask truly means. Is there any rule to do this?
Thanks a lot!!!
Paula.