PyKOALA is a Python package to reduce KOALA+AAOmega integral field spectroscopy (IFS) data creating a data cube. It produces full calibrated (wavelength, flux and astrometry) data cubes ready for science.
KOALA, the Kilofibre Optical AAT Lenslet Array, is a wide-field, high efficiency, integral field unit used by the AAOmega spectrograph on the 3.9m AAT (Anglo-Australian Telescope) at Siding Spring Observatory. PyKOALA is the forthcoming data reduction pipeline for creating science-ready 3D data cubes using Raw Stacked Spectra (RSS) images created with 2dfdr.
PyKOALA has the following pre-requisites
- numpy
- scipy
- astropy
- photutils
- skimage (for image registration using cross-correlation)
...
...
Represent the different types of data used by PyKOALA.
- RSS
- Cube
- koala_rss
All the corrections applied to the data are build upon the Correction base class.
- AtmosphericExtinction
- Atmospheric Differential Refraction (ADR)
- Sky substraction (SkySubsCorrection)
- Sky continuum
- Sky emission lines
- Telluric correction (TelluricCorrection)
- Cosmics
- NaN's
- CCD edges
(See examples)
- Read RSS data.
- Apply fibre throughput.
- Correct data for atmospheric extinction.
- Correct data from telluric atmospheric absorption.
- Substract sky (continuum + emission lines).
- Build cube
...
- Fork koala into your github account
- Clone your fork onto your laptop:
git clone https://github.com/<your_account>/koala
- Add this repository as another remote (to get the latest stuff):
git remote add upstream https://github.com/pykoala/koala
- Create a branch to work on the changes:
git checkout -b <new_branch>
- Add and commit changes
- Push up your changes
- Create a PR, and wait for someone to review it
- Look through the changes, and provide comments
- Once the PR is ready, type bors r+, then bors will handle the merge (DON'T HIT THE MERGE BUTTON).
- If the tests fail, help the proposer fix the failures
- Use bors r+ again
You can also use bors try to try running the tests, without merging