ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2511.016] GalClean: Remove bright sources from a FITS image
GalClean removes bright foreground and background sources (such as stars and other galaxies) from a FITS image while preserving the central galaxy. It uses Astropy (ascl:1304.002) together with its PhotUtils module (ascl:1609.011) to detect and mask or subtract these sources. The code can be run as a standalone script or used as a module. GalClean produces a cleaned FITS image plus diagnostic output (segmentation map and residual image). It is designed to help avoid source blending when artificially redshifting galaxy images for, for example, sample preparation.
Code site:
https://github.com/astroferreira/galclean
Described in:
https://ui.adsabs.harvard.edu/abs/2018MNRAS.473.2701D
Bibcode:
2025ascl.soft11016D


ascl:2511.016
Add this shield to your page
Copy the above HTML to add this shield to your code's website.