GithubHelp home page GithubHelp logo

astrohitc / int-ids-datareduction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aayush3009/int-ids-datareduction

0.0 0.0 0.0 17.82 MB

Pipeline to reduce long-slit spectra taken using IDS on the Isaac Newton Telescope, La Palma

Jupyter Notebook 100.00%

int-ids-datareduction's Introduction

INT-IDS-DataReduction

Pipeline to reduce long-slit spectra taken using IDS on the Isaac Newton Telescope, La Palma

Pre requisites

This pipeline is based on Python 3, and works best in a Jupyter Notebook environment. Installation instructions for Jupyter Notebook can be found here: https://jupyter.org/install.

The following Python packages are needed for this pipeline to function:

  • numpy
  • matplotlib
  • astropy
  • scipy
  • ccdproc
  • mpdaf

Functions

This pipeline performs all the basic CCD data reduction. This is done using the Python package ccdproc, which can be downloaded using pip install ccdproc for python2 or pip3 install ccdproc for python3.

The data reduction steps performed are:

  • create a master bias frame

  • create a master lamp flat frame

  • create a master sky flat frame

  • reduce individual science frames. Perform gain correction, bias subtraction, flat fielding and sky subtraction

  • median combine reduced science frames into a deep spectrum

  • reduce arc frames for wavelength calibration

  • wavelength calibrate the 2D science spectrum

  • extract and save 1D spectrum from a given position and aperture size. This feature requires the python package mpdaf. This can be downloaded using pip install mpdaf for python2 or pip3 install mpdaf for python3.

To add: flux calibration

The following reduction code works directly from the full set of images in a given night's observations. As observations are added during the evening, the ImageFileCollection object defined at the beginning needs to be refreshed.

ftp where frames are stored: rsync -av intobs@intdrpc1:/obsdata/inta/20190405/ .

int-ids-datareduction's People

Contributors

aayush3009 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.