Skip to content

Knights-Templars/image-align

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-align

This is a package to resample and coadd astronomical images (tested with .fits format). The code uses swarp to resample the images and coadd.

image-align logo

Installation

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 .

Requirements

Detailed Installation

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.

Usage

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

Detailed usage

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

Future developments

  • 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.

About

An image resampling and coaddition wrapper package.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages