scimma / blast

Django web app for the automatic characterization of supernova hosts
MIT License
1 stars 2 forks source link

[Bug] Mask stars to reduce contamination #255

Open astrofoley opened 2 months ago

astrofoley commented 2 months ago

🐞 Bug Report

Describe the bug

There are occasionally stars that are in an aperture, which contaminate the photometry. The level of contamination depends on the properties of the star, the filter, the PSF, where it lands in the aperture, etc. It is possible to use a point-source catalog (say 2MASS) to determine the position of stars and mask them before doing photometry.


Is this a regression?

No


To Reproduce

  1. Examine the 2MASS photometry of https://blast.scimma.org/transients/2023huy/
  2. The object is flagged as potentially having a contaminating star and the 2MASS photometry is off from the other bands.

Expected behaviour

The photometry should be of the galaxy avoiding contamination from other sources. This can best be done by identifying stars and masking them.


Media prove

image image