legacysurvey / legacypipe

Image reduction pipeline for the DESI Legacy Imaging Surveys, using the Tractor framework
BSD 3-Clause "New" or "Revised" License
37 stars 22 forks source link

Color outliers in SGA can identify cases contaminated by stars #626

Closed arjundey closed 1 year ago

arjundey commented 4 years ago

I have been examining the color outliers with the following criteria (note: in all cases the color is constructed from the 23.5 mag/sq.arcsec. SB aperture and I only looked at SGA galaxies with SGA_ID NE -1 and IN_DESI EQ 'T' and IN_DESI_GRZ EQ 'T'):

[A] (W1-W2) < -2 OR (W1-W2) > 1

The following have -2 < (W1-W2) < 1

[B] (g-r) < -2 OR (g-r) > 5 OR (r-z) < -5 OR (r-z) > 5

I think it would be useful to identify all the SGA sources where a Gaia DR2 star lies within the SGA elliptical mask and set those aside for re-fitting in a better way (or at least tag them appropriately). Do we already do this, in MASKBITS perhaps? From what i can see, we only check stars with G < 16, but perhaps we need to include the fainter ones for the purpose of determining reliability of the SGA photometry? (most of the galaxies satisfying [B] do not have MASKBIT 11 set).

moustakas commented 1 year ago

I have moved this ticket over to https://github.com/moustakas/SGA/issues/74; let's track it there.