Giter VIP home page Giter VIP logo

iraf's Introduction

AIRAF

AIRAF: Astronomical Image Reduction and Analysis Facility

https://travis-ci.com/ethankruse/iraf.svg?token=eppNFbJp1yHxpxgRYHsc&branch=master

AIRAF is a Python implementation of the original IRAF developed by the National Optical Astronomy Observatories (NOAO). The code is open source, well tested, and intended to give identical results to traditional image reduction and analysis in the original IRAF.

The original goal of this project was to create a native-Python translation of the 40-year-old original IRAF package. IRAF was a tremendous resource to the astronomy community, and having all observatory data reductions use the same tool was good for teaching new students, scientific reproducibility, and productivity.

Now that IRAF has stopped being maintained by NASA and is increasingly impossible to install on modern machines, combined with its incredibly antiquated interface, the data reduction landscape has fractured. Thus nearly all the benefits of IRAF are gone and the community is stuck piecing together various reduction pipelines for their own individual case.

I created this package to explore creating a direct Python translation of IRAF, but with modern graphics and syntax. I downloaded the IRAF source code and taught myself its custom language to translate the routines into Pythonic reproductions.

Currently, there are 4 working tools (currently nested in the same package structure as the original IRAF):

  • iraf.plot.implot, which is an interactive tool identical to the original, but using modern graphics.
  • iraf.images.imutil.imstat, which provides stats about the data contents of images.
  • iraf.noao.imred.ccdred.combine, which combines multiple images into one (e.g. median flatfield).
  • iraf.noao.imred.ccdred.ccdproc, the workhorse of the data reduction pipeline.

Each routine has thorough tests that make sure everything is working and produces identical results to using the original IRAF package.

While working through this and writing the tests, I've actually found some bugs in IRAF, though none likely to have impacted any scientific results.

iraf's People

Contributors

ethankruse avatar

Watchers

 avatar Kostas Georgiou avatar

iraf's Issues

Please report IRAF issues to iraf-community

Hi Ethan,

I am happy to see your approach of translate IRAF into Python! Keep however in mind that IRAF has some 100,000 lines of code, so this is (unless you have some automation) a very long-standing task.

I opened this issue because I would like to ask you to report any issues you found by reviewing the original code to https://github.com/iraf-community/iraf, so that they can be fixed there (I am the maintainer of iraf-community).

Best regards

Ole

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.