Skip to content

astroferreira/galclean

Repository files navigation

GalClean

Simple tool to remove bright sources (excluding the galaxy itself) from a fits image using Astropy PhotUtils.

GalClean can be used as a script following the instructions bellow or as a module (refer to the .ipynb in the repository for an example).

usage

python galclean.py <file_path_to_fits> [--siglevel SIGLEVEL] [--min_size MIN_SIZE]

output

  1. Segmented input in a fits file: _seg.png
  2. PNG for inspection with the original and segmented images with a residual plot

Reference

This tool was created to remove external bright sources from EFIGI's stamps to avoid source blending after applying artificial redshift to them with FERENGI. An early version of GalClean was used in [1].

[1] de Albernaz Ferreira & Ferrari, 2018 \

About

Simple tool to remove bright sources (excluding the galaxy itself) from a fits image using Astropy's PhotUtils

Resources

License

Stars

Watchers

Forks

Packages

No packages published