This is a package to resample and coadd astronomical images (tested with .fits format). The code uses swarp to resample the images and coadd.
git clone https://github.com/Knights-Templars/image-align.git
cd image-align
pip install -e .
Alternatively, if you have github SSH configured -
git clone git@github.com:Knights-Templars/image-align.git
cd image-align
pip install -e .
- Swarp.
- SExtractor.
- SCAMP.
For a mac , install swarp with
sudo port install swarp
install scamp with -
conda config --add channels conda-forge
conda install -c conda-forge astromatic-scamp
install sextractor with -
brew install sextractor
If macports, brew does not have astromatic-suite consult their documentation for installation.
image-align align_config.yml
If you need precise aligning, make sure to use precise_align: True
image-align align_config.yml --gaia --sex --scamp
If you want to generate diagnostic images
image-align align_config.yml --check_align
image-align align_config.yml --gaia --sex --scamp --check_align
Edit the config.yml file and give the diredtory path. The directory should contain images taken with the same filter.
The fits file obtained after coaddition would be tagged with a suffix coadd.fits
The configs for swarp are kept in configs/astromatic.
For more information on swarp, visit - Swarp
- Astrometry fine tuning.
- tests.
- logging.
- [] Flux conservation after resampling.
- [] Add type hinting.
This package is being developed for performing deep stacking of images of supernovae in the late phase from ground based telescope.
