Skip to main content
Gemini Observatory Logo
NOIRLab Logo U.S. National Science Foundation (NSF) logo
Canadian National Research Council (NRC) logo Chilean Agencia Nacional de Investigación y Desarrollo (ANID) logo Brazilian Ministério da Ciência, Tecnologia e Inovação logo Argentinean Ministerio de Ciencia, Tecnología e Innovación logo Korea Astronomy and Space Institute (KASI) logo
  • Menu
      • Start here!
      • Phase I: Proposing for Time
        • PIT
          • PIT Description
          • PIT Help
        • Standard Semester Program
          • 2025A Call for Proposals
            • Semester 2025A Instrument Restrictions and Target Accessibility
            • Semester 2025A Important Dates
            • Semester 2025A Time Distribution
          • 2024B Call for Proposals
            • Semester 2024B Instrument Restrictions and Target Accessibility
            • Semester 2024B Important Dates
            • Semester 2024B Time Distribution
          • 2024A Call for Proposals
            • Semester 2024A Instrument Restrictions and Target Accessibility
            • Semester 2024A Important Dates
            • Semester 2024A Time Distribution
          • JWST Synergies Proposal Category
          • Previous Calls for Proposals
            • 2023B Call for Proposals
              • Semester 2023B Instrument Restrictions and Target Accessibility
              • Semester 2023B Important Dates
              • Semester 2023B Time Distribution
        • TAC
        • PW
        • LLP
          • 2025 LLP Call for Proposals
          • 2024 LLP Call for Proposals
          • 2023 LLP Call for Proposals
          • 2021 LLP Call for Proposals
          • 2020 LLP Call for Proposals
          • Approved LLPs
            • Gemini as the Ultimate Time Domain Follow-up Machine: Understanding the Nearest Cosmic Explosions
            • SPECTRE-GHOST: Spectroscopically Probing Extremely (hot) Climates of TRansiting Exoplanets with GHOST
            • The GHOSTLy quasar sample
            • GOFAST–XRB: Gemini Optical FAST timing of X-Ray Binaries
            • Velocity-resolved Echo Mapping with Gemini
            • Deriving Reliable Fundamental Quasar Properties with Gemini Near-Infrared Spectroscopy
            • The First Large Census of Fast Radio Burst Host Galaxies with Gemini
            • Leverage the Past For A Future With High-res Spectroscopic Phase Curves of Hot Jupiters
            • Elemental Abundances via SpectroscopY of Exoplanet-hosting Cool Dwarfs
            • A MAROON-X radial velocity search for planets around the nearest stars
            • A Spectroscopically Complete Census of Faint Transients Observed by the Young Supernova Experiment
            • Roasting Marshmallows: Disentangling Composition & Climate in Hot Jupiter Atmospheres through High-Resolution Thermal Emission Cross-Correlation Spectroscopy
            • Investigating the Activity Drivers of Small Bodies in the Centaur-to-Jupiter-Family Transition
            • Subaru Intensive Program: g-band Imaging for Science with Euclid and UNIONS
            • Exploring the Diversity of Exoplanet Atmospheres at High Spectral Resolution
            • A High-Resolution Survey of Molecular Abundances in Transiting Exoplanet Atmospheres
            • Validation and Characterization of Exoplanets with Gemini High-Resolution Imaging
            • Monitoring Seasonal Reversal in Uranus' Upper Atmosphere
            • Observational Characterization of Recurrently Active Main-Belt Comets and Near-Earth Main-Belt Comet Candidates
            • ZF2K: The First Exploration of the K-Band Window and a Complete Census of Massive Galaxies at 4 < z < 6
            • Chemistry of new metal-poor stars found in the Pristine Survey
            • Validating TESS Exoplanet Candidates
            • Young Star & Protoplanetary Disk Evolution with High- Resolution IR Spectroscopy
            • Placing High-Redshift Quasars in Perspective: a Gemini Near-Infrared Spectroscopic Survey
            • MaDCoWS: The Massive and Distant Clusters of WISE Survey
            • The K2 Supernova Experiment - Campaigns 16 and 17
            • Scattered Light imaging of YSOs: Probing the Fundamental Stages of Planet Formation
            • DES Supernova Cosmology
            • Addressing a Bias in the Relation Between Galaxies and Their Central Black Holes
            • Observational Characterization of Active Main-Belt Comets and Main-Belt Comet Nuclei
            • Dynamical Masses of Black Holes and Neutron Stars from the Galactic Bulge Survey
            • Characterizing Dusty Debris in Exoplanetary Systems
            • The First Survey Dedicated to the Detection and Characterization of Clouds in Exoplanet Atmospheres
            • Validating K2’s Habitable and Rocky Planets with AO Imaging
            • A GNIRS Near-IR Spectroscopic Survey of z>5.7 Quasars
            • Probing the dark halo of the Milky Way with GeMS/GSAOI
            • Where Accretion Meets Feedback: A Galaxy Redshift Survey in HST/COS Quasar Fields
            • Rapid Spectroscopy of Elusive Transients and Young Supernovae
            • Spectroscopic Confirmation of Dark Energy Survey Strong Lensing Systems and Spectra for Photometric Redshift Calibration
            • COL-OSSOS: COLours for the Outer Solar System Object Survey
            • The GOGREEN Survey of dense galaxy environments at 1<z<1.5
            • Followup of newly discovered Near-Earth objects from the NEOWISE survey
        • FT
          • FT CfP
        • DDT
        • Queue
        • Classical
        • PV
        • ToO
        • Eavesdropping
        • Joint Proposals
      • Phase II: Requesting & Monitoring Observations
        • OT
          • OT Description
            • Science Program Elements
            • Detailed element editor
            • Menu Bar
            • Problems tab
            • Main Toolbar
            • Science Program Viewer
            • Libraries
            • Browser
            • OT Position Editor
            • Guide Star Selection
            • Catalog Query Tool
            • Templates
            • Other
          • OT Help
        • OT/Phase II Checklist
        • Instructions
          • Instructions archives
        • Useful to know
        • Non-Sidereal Targets
      • Phase III: Retrieving & Reducing Data
        • Downloading and Understanding the Data
        • Reducing the Data
          • DRAGONS Data Reduction Software
          • Gemini IRAF Data Reduction Software
            • Getting Started with Gemini IRAF
          • Timing information
          • Data Formats
          • Installing Anaconda for Gemini
        • Getting Help
          • Data Workshops
        • Acknowledging Gemini
        • Providing Feedback
      • Getting Help
        • Submit a General Helpdesk Request
      • Schedules and Queue
        • Nightlog GN
        • Nightlog GS
        • 2025A Classical Schedule
        • 2024B Classical Schedule
        • Queue Summary (Bands, DD, LP, FT, PW)
        • Previous Semesters
          • 2024A Classical Schedule
      • Resources
        • Magnitudes and Fluxes
          • Conversions between magnitudes and flux
          • Flux Conversion Tool
        • Multi-Object Spectroscopy
        • Near-IR Resources
          • Photometry
            • Photometric Standard Search
            • UKIRT Standards
            • Hunt Standards
            • Persson Standards
            • Persson Red Standrads
            • UKIRT Bright Standards
            • NIRI Filter Color Transformations
            • Very Faint Standards
          • Spectroscopy
            • Telluric Standard Search
            • Spectral Templates - Library V2.0
            • Spectral Templates - Observations and Data Reduction
            • Spectral Templates - R=18000
            • CO lines and band heads
            • Important H2 Lines
            • Hydrogen Recombination Lines
        • Optical Resources
        • Integration Time Calculator (ITC)
          • ITC Help
          • ITC Release Notes
          • Properties in the ITC
        • Advice
        • Available Filters
      • Science Operations Statistics
        • Historical statistics
      • Telescopes and Sites
        • Telescopes
        • Sites
          • Cloud Cameras
            • Gemini South All Sky Camera
          • Site Status
          • Weather Now
      • Policies Regarding Observing
      • Visiting Gemini
        • Graduate Student Visitor Program
        • Visitas al telescopio
        • Maunakea Visitor's Guidelines
      • Operations Development
      • Current Instruments
        • Altair
          • Modes
          • Performance
          • Field Lens
          • Observation Preparation
          • Documents
        • GHOST
          • Capabilities
          • Components
          • Proposal Preparation
          • Calibrations
          • Exposure Time Estimation
          • Preparing Observations
          • Data Reduction
          • GHOST Webinar Series
          • GHOST System Verification
          • Documentation
        • NIRI
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
          • Observation preparation
          • Exposure time estimation
          • Data reduction
        • TEXES
          • Sensitivity and Time Requests
          • Integration Time Calculator
        • GNIRS
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
          • Observation preparation
          • Exposure time estimation
          • Data reduction
          • Documents
        • IGRINS-2
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
          • Observation preparation
          • Exposure Time Estimation
          • Data Reduction
          • Documents
        • GMOS
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
          • Observation preparation
          • Exposure Time Estimation
          • Data Reduction
          • Documents
        • GeMS
          • MCAO
          • Performances
          • Components
          • Observation Preparation
          • Procedures
          • Documents
        • Flamingos 2
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
          • Observation preparation
          • Exposure Time Estimation
          • Data reduction
          • Documents
        • GSAOI
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
          • Observation preparation
          • Exposure Time Estimation
          • Data reduction
          • Documents
        • `Alopeke & Zorro
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
            • Point Source Standard Search
          • Observation preparation
          • Data reduction
        • MAROON-X
          • Capability
          • Components
          • Proposal preparation
          • Calibrations
          • Observation Preparation
          • Exposure Time Estimation
          • Data Reduction
          • Documents
      • Future Instruments
        • Specs and Documents
        • SCORPIO
        • GIRMOS
        • GPI 2.0
        • GNAO
          • Design
          • Publications
          • Science Cases
          • Team
      • Visiting Instrument Program
        • Telescope Interfaces
      • Instrument Upgrade Program
        • Previously Awarded Updates
        • 2017 Request for Proposals
      • Retired Instruments
      • Performance Monitoring
      • Timing information in Gemini Instruments
      • Conduct
      • Careers and Jobs
      • Publications
      • Gemini Telescopes, Science and Technologies
      • Gemini In The Era of Multi-Messenger Astronomy
        • GEMMA Team
        • Publications
        • GEMMA Outreach
        • Documents
          • AOB Conceptual Design
      • National Gemini Offices (NGO)
      • Governance
      • Participant Shares
      • Web Accessibility
      • Contact Us
      • Gemini Contact Scientists
      • Gemini Strategic Planning
      • Gemini Research Staff
      • Images
      • Videos
      • CloudCam
      • Virtual tour
      • Activities at Gemini
        • Live From Gemini
        • Journey Through The Universe
      • Facility Tours
      • Gemini Card Game
      • Gemini Science Meetings
      • Gemini at National Meetings
      • Topical Science Meetings
  • Home
  • Observing
  • Phase III - Data Reduction and Analysis
  • Reducing the Data
  • Gemini IRAF Data Reduction Software

Getting Started with Gemini IRAF

Updated August 15, 2024 by klabrie
  • Share
  • Tweet

Gemini IRAF Data Reduction Software

  • Getting Started with Gemini IRAF

IMPORTANT NOTE:

This page provides information to assist users when processing data obtained with the Gemini telescopes with Gemini IRAF. If you are reducing Imaging data from GMOS, NIRI, Flamingos-2, GSAOI, or GNIRS (keyhole), then we strongly recommend that you use the new platform, DRAGONS. Tutorials are available on the DRAGONS Documentation Portal

Introduction

Please see the requirements page for information relating to installing the Gemini IRAF package. For those new to IRAF, general IRAF documentation is available. In addition, a presentation called An Introduction to IRAF and the Gemini IRAF package was given at the 2014 AusGO/AAO Observational Techniques Workshop in Sydney, Australia, in conjunction with an interactive Python / PyRAF demonstration in the form of an IPython notebook (to run the IPython notebook, type ipython notebook in the directory where the IPython notebook is located then go to your browser). For instrument specific information, please follow the links below.


To get started with PyRAF:
 

  • PyRAF 101

To get started with one of the instruments:
 

  1. FLAMINGOS-2
  2. GMOS
  3. GNIRS
  4. GPI
  5. GSAOI
  6. MIDIR
  7. NIFS
  8. NIRI
  1. OSCIR
  2. QUIRC
  3. FLAMINGOS


FLAMINGOS-2

  • All the available tasks in the F2 package can be found by typing help f2 at the IRAF / PyRAF prompt before loading the F2 package
  • Information about the reduction of all FLAMINGOS-2 data can be found by typing f2info at the IRAF / PyRAF prompt
  • A FLAMINGOS-2 Data Reduction Cookbook provides instructions and PyRAF scripts for reducing both imaging and longslit spectroscopic data using the Gemini IRAF package.

Imaging Data

  • Information about the reduction of FLAMINGOS-2 imaging data can be found by typing f2infoimaging at the IRAF / PyRAF prompt
  • An example reduction script for processing FLAMINGOS-2 imaging data can be found by typing f2examples imaging at the IRAF / PyRAF prompt

Spectroscopic Data

  • Line lists for wavelength calibration are available

    Longslit Data

    • Information about the reduction of FLAMINGOS-2 longslit data can be found by typing f2infols at the IRAF / PyRAF prompt
    • An example reduction script for processing FLAMINGOS-2 longslit data can be found by typing f2examples longslit at the IRAF / PyRAF prompt

    Multi-Object Spectroscopy (MOS) Data

    • Information about the reduction of FLAMINGOS-2 MOS data can be found by typing f2infomos at the IRAF / PyRAF prompt
    • An example reduction script for processing FLAMINGOS-2 MOS data can be found by typing f2examples MOS at the IRAF / PyRAF prompt


GMOS

  • All the available tasks in the GMOS package can be found by typing help gmos at the IRAF / PyRAF prompt before loading the GMOS package
  • Information about the reduction of all GMOS data can be found by typing gmosinfo at the IRAF / PyRAF prompt
  • A description of the format of GMOS data is available
  • Example bias images are available
  • Information about the reduction of GMOS data (relating to the tutorials below) was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010.
  • GMOS Data Reduction Cookbook developed in conjunction with the US NGO has instructions for imaging and spectroscopy data reduction and calibration.

Imaging Data

  • Information about the reduction of GMOS imaging data can be found by typing gmosinfoimag at the IRAF / PyRAF prompt
  • An example reduction script for processing GMOS imaging data can be found by typing gmosexamples imaging at the IRAF / PyRAF prompt
  • Example flat field images are available
  • Example fringe images are available for both GMOS-N and GMOS-S
  • A GMOS imaging tutorial, along with an example reduction script in the form of an IPython notebook (to run the IPython notebook, type ipython notebook in the directory where the IPython notebook is located then go to your browser) was presented at the 2014 AusGO/AAO Observational Techniques Workshop in Australia in April, 2014

Spectroscopic Data

  • Information about the reduction of GMOS spectroscopic data can be found by typing gmosinfospec at the IRAF / PyRAF prompt
  • Line lists for wavelength calibration are available
  • An example reduction script for processing GMOS NS longslit data can be found by typing gmosexamples NS_longslit at the IRAF / PyRAF prompt
  • An example reduction script for processing GMOS NS MOS data can be found by typing gmosexamples NS_MOS at the IRAF / PyRAF prompt
  • Example nod and shuffle longslit images are available
  • Information about the reduction of GMOS Nod and shuffle data was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010
  • An example reduction script for processing GMOS longslit data and GMOS standard longslit data can be found by typing gmosexamples longslit and gmosexamples standard_longslit at the IRAF / PyRAF prompt, respectively
  • A GMOS longslit tutorial was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010
  • An example reduction script for processing GMOS MOS data can be found by typing gmosexamples MOS at the IRAF / PyRAF prompt
  • A GMOS MOS tutorial was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010

IFU Data

  • GMOS IFU-1 Data Reduction Tutorial - Gemini IRAF (Workshop at the Gemini Science and Evolution meeting 2018)
  • Information about the reduction of GMOS IFU data can be found by typing gmosinfoifu at the IRAF / PyRAF prompt
  • An example reduction script for processing GMOS single slit IFU data, GMOS two slit IFU data and GMOS standard IFU data can be found by typing gmosexamples IFU_1slit, gmosexamples IFU_2slit and gmosexamples standard_IFU at the IRAF / PyRAF prompt, respectively
  • A GMOS IFU tutorial was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010


GNIRS

  • All the available tasks in the GNIRS package can be found by typing help gnirs at the IRAF / PyRAF prompt before loading the GNIRS package
  • Information about the reduction of all GNIRS data can be found by typing gnirsinfo at the IRAF / PyRAF prompt
  • The electronic pattern noise can be removed

Spectroscopic Data

  • Line lists for wavelength calibration are available

Cross Dispersed (XD) Data

  • Information about the reduction of GNIRS XD data can be found by typing gnirsinfoxd at the IRAF / PyRAF prompt
  • An example reduction script for processing GNIRS XD data can be found by typing gnirsexamples XD at the IRAF / PyRAF prompt
  • A cookbook for reducing XD spectra is available

​Longslit Data

  • Information about the reduction of GNIRS longslit data can be found by typing gnirsinfols at the IRAF / PyRAF prompt
  • An example reduction script for processing GNIRS longslit data can be found by typing gnirsexamples longslit at the IRAF / PyRAF prompt

IFU Data

  • Information about the reduction of GNIRS IFU data can be found by typing gnirsinfoifu at the IRAF / PyRAF prompt
  • An example reduction script for processing GNIRS IFU data can be found by typing gnirsexamples IFU at the IRAF / PyRAF prompt


GPI

The GPI instrument builders and incidentally the campaign team has developed a powerful data reduction tool in IDL. At least for the duration of the GPI campaign, the software is maintained and developed by the campaign team.

The software and the documentation can be obtained at:

https://docs.planetimager.org/pipeline/

The GPI campaign team is providing a "source package" which contains all the source code and requires the user to have an IDL license to run the software. However, they also provide a "runtime package" both for Linux and Mac OS X that has compiled code and includes the IDL runtime library that can be run for free without a license. If you do not have an IDL license, use that second type of package.

All the tools are GUI-based. You do not need to know IDL.

A series of papers detailing GPI data and its analysis can be found in the GPI documents section


GSAOI

Imaging Data

  • All the available tasks in the GSAOI package can be found by typing help gsaoi at the IRAF / PyRAF prompt before loading the GSAOI package
  • Information about the reduction of all GSAOI data can be found by typing gsaoiinfo at the IRAF / PyRAF prompt
  • Disco-Stu, the Distortion Correction and Stacking Utility for GSAOI. This standalone package, written in python, will align and stack images that have already been processed by the Gemini IRAF gareduce task.
  • An example reduction script for processing GSAOI imaging data can be found by typing gsaoiexamples at the IRAF / PyRAF prompt


MIDIR

  • All the available tasks in the MIDIR package can be found by typing help midir at the IRAF / PyRAF prompt before loading the MIDIR package
  • Information about the reduction of all Michelle and T-ReCS data can be found by typing midirinfo at the IRAF / PyRAF prompt
  • A description of the characteristics of Michelle and T-ReCS data is available
  • Data reduction utilities in IDL and IRAF are available

Imaging Data

  • An example reduction script for processing Michelle imaging data can be found by typing midirexamples michelle_imaging at the IRAF / PyRAF prompt
  • An example reduction script for processing T-ReCS imaging data can be found by typing midirexamples trecs_imaging at the IRAF / PyRAF prompt
  • A cookbook for reducing mid-IR imaging data is available

    Polarimetry Data

    • An example reduction script for processing Michelle polarimetry data can be found by typing midirexamples polarimetry at the IRAF / PyRAF prompt

Spectroscopic Data

  • Information related to the telluric, flux and wavelength calibration of MIDIR data is available

    Longslit Data

    • An example reduction script for processing Michelle longslit data can be found by typing midirexamples michelle_longslit at the IRAF / PyRAF prompt
    • An example reduction script for processing MIDIR longslit data can be found by typing midirexamples midir_longslit at the IRAF / PyRAF prompt
    • A cookbook for reducing mid-IR spectroscopy data is available
    • A cookbook for reducing Michelle Q band data is available


NIFS

IFU Data

  • All the available tasks in the NIFS package can be found by typing help nifs at the IRAF / PyRAF prompt before loading the NIFS package
  • Information about the reduction of all NIFS data can be found by typing nifsinfo at the IRAF / PyRAF prompt
  • An example reduction script for processing NIFS IFU calibration data, NIFS IFU science data and NIFS IFU telluric data can be found by typing nifsexamples calibration, nifsexamples science and nifsexamples telluric at the IRAF / PyRAF prompt, respectively
  • Information about the reduction of NIFS IFU data was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010


NIRI

  • All the available tasks in the NIRI package can be found by typing help niri at the IRAF / PyRAF prompt before loading the NIRI package
  • Information about the reduction of all NIRI data can be found by typing niriinfo at the IRAF / PyRAF prompt
  • Information about raw NIRI data is available
  • A description of the characteristics of NIRI data is available
  • The electronic pattern noise can be removed
  • Information about the reduction of NIRI data (relating to the tutorials below) was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010

Imaging Data

  • An example reduction script for processing NIRI imaging data can be found by typing niriexamples imaging at the IRAF / PyRAF prompt
  • A NIRI imaging tutorial was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010

Spectroscopic Data

  • Line lists for wavelength calibration are available

    Longslit Data

    • An example reduction script for processing NIRI longslit data can be found by typing niriexamples longslit at the IRAF / PyRAF prompt
    • A NIRI longslit tutorial was presented at the Gemini Data Workshop in Tucson, Arizona in July, 2010


OSCIR

  • All the available tasks in the OSCIR package can be found by typing help oscir at the IRAF / PyRAF prompt before loading the OSCIR package
  • Information about the reduction of all OSCIR data can be found by typing oscirinfo at the IRAF / PyRAF prompt


QUIRC

  • All the available tasks in the QUIRC package can be found by typing help quirc at the IRAF / PyRAF prompt before loading the QUIRC package
  • Information about the reduction of all QUIRC data can be found by typing quircinfo at the IRAF / PyRAF prompt


FLAMINGOS

  • All the available tasks in the FLAMINGOS package can be found by typing help flamingos at the IRAF / PyRAF prompt before loading the FLAMINGOS package
  • Information about the reduction of all FLAMINGOS data can be found by typing flamingosinfo at the IRAF / PyRAF prompt


International Gemini Observatory

The International Gemini Observatory  provides the astronomical communities in six participant countries with state-of-the-art astronomical facilities that allocate observing time in proportion to each country's contribution. In addition to financial support, each country also contributes significant scientific and technical resources. The national research agencies that form the Gemini partnership include: the US National Science Foundation (NSF), the Canadian National Research Council (NRC), the Chilean Agencia Nacional de Investigación y Desarrollo (ANID), the Brazilian Ministério da Ciência, Tecnologia e Inovação, the Argentinean Ministerio de Ciencia, Tecnología e Innovación, and the Korea Astronomy and Space Institute (KASI). The observatory is managed by the Association of Universities for Research in Astronomy, Inc. (AURA) under a cooperative agreement with the NSF. The NSF also serves as the executive agency for the international partnership.     


Association of Universities for Research in Astronomy, Inc. (AURA) logo

Follow Gemini Observatory