Tirspec

Codes to reduce TIRSPEC (TIFR Near Infrared Spectrometer and Imager) data.

This project is maintained by indiajoe

TIRSPEC

For TIRSPEC instrument webpage, visit : http://web.tifr.res.in/~daa/tirspec/

This repository contains the scripts which can to be used for the basic reduction of TIRSPEC data. And also some add-on scripts to assist during observation. Codes are mostly in Python.

Feel free to modify as needed and use it while observing with TIRSPEC. Make sure, you keep the modified scripts under a separate directory of your name, to prevent any conflict with default scripts for other users.

You may also find some helpful scripts in the following link: http://indiajoe.github.io/HandyTools4Astronomers/

Webpage of this repository: http://indiajoe.github.io/TIRSPEC/

Documentation for Pipeline : http://indiajoe.github.io/TIRSPEC/Pipeline/

Contents

CodesForUser:

The image below shows the major steps in TIRSPEC data reduction script. The boxes marked with faces needs human supervision. Photometry flowchartSpectroscopy flowchart For automated wavelength calibration, one needs to keep a calibrated template of the argon spectra in a directory.

Module requirements: astropy, numpy and pyraf

NonPython requirements: iraf, sextractor

Module requirements: astropy, numpy, scipy and matplotlib

Module requirements: astropy, scipy, numpy

Module requirements: numpy, matplotlib

CodesOnServer:

Intended for use on tirspec machine while observing.

You can load this also as a module in IPython, and use the collection of functions in it for an interactive analysis of tirspec's raw data. The available functions inside this module are

With additional module numexpr, Generate4mRampFaster.py can be used for a slightly faster and parallel version of this module.

Module Dependencies

First few lines of the script will tell you the required python modules for each script. For running all the scripts you will need: numpy, astropy, pyraf, scipy and matplotlib

License

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.