Skip to content

A python-based package for easy and automatic examination of photometric images, reduction of raw frames and performing aperture photometry (both, absolute and differential), best-suited for time-series observations like transit photometry.

Notifications You must be signed in to change notification settings

arcunique/pyapphot

Repository files navigation

pyapphot

Build Status Python 2.7

pyapphot is a collection of classes and functions defined to perform reduction and analyses for aperture phototmetry. This is primarily based on the packages pyraf and imexam. The Imexamine class of this package allows interactive selection and deselection of objects from the frames, auto-detection of objects on multiple frames based on one reference frame, auto-alignment of the frames etc. This also allows all the PyRAF (hence, IRAF) and imexam tasks apart from the methods defined in this class.

The starPSF class of this package allows extraction of all the PSF information from all the frames which can be stored into a Python Pickle file. This class allows users to set their criteria to filter out the frames/objects with poor PSF and helps make a decision regarding the trade-off between the frames to be discarded and the objects to be discarded.

The aperture_phot class allows users to perform aperture photometry and store the results into a Pickle file. Differential photometry can also be performed using this class.

Author

  • Aritra Chakrabarty (IIA, Bangalore)

Requirements

  • python>3.6
  • numpy
  • astropy
  • pyraf
  • imexam=0.9.1
  • pickle
  • matplotlib
  • photutils
  • PyQt5

Instructions on installation and use

Presently, the code is only available on Github. Either download the code or use the following line on terminal to install using pip:
pip install git+https://github.com/arcunique/pyapphot #installs from the current master on this repo.

You can import the modules and classes by:

from pyapphot import image_management
from pyapphot.apphot import starPSF
from pyapphot.apphot import aperture_phot

Documentation of this package is underway.Some example Jupyter notebooks can be found in this package which demonstrate how to use thse classes and functions. This package has already been used to perform differential transit photometry, results from which can be found here.

About

A python-based package for easy and automatic examination of photometric images, reduction of raw frames and performing aperture photometry (both, absolute and differential), best-suited for time-series observations like transit photometry.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published