Skip to main content
Help us improve Python packaging – donate today!

Gemini Instruments Data Reduction Framework.

Project Description


Nifty4Gemini's documentation, hosted on ReadtheDocs. DOI MIT license. Nifty4Gemini uses Astropy! Here is a link to the project webpage:

A Python Data Reduction Pipeline for the Gemini-North Near-Infrared Integral Field Spectrometer (NIFS).

Full documentation: ReadTheDocs.

This is a new data reduction Python pipeline that uses Astroconda and the Gemini IRAF Package to reduce NIFS data. It offers a complete data reduction process from sorting the data to producing a final flux calibrated and wavelength calibrated combined cube with the full S/N for a science target.

This pipeline is open source and it is supported via the Gemini Data Reduction User Forum.

Any feedback and comments ( are welcome!

How to Submit Bugs and Requests

Very important: do not submit a Gemini help desk ticket!

If you want to report a problem, use the Gemini Data Reduction Forum thread or create an issue in this repo.



Make sure you have the latest version of Gemini Astroconda installed, have activated an Astroconda environment and have set up PYRAF. You can find instructions for installing Astroconda here. PYRAF can be set up by running the mkiraf command in your “~/iraf” directory.



pip install nifty4gemini

Installing in Editable Mode

If you want to edit the Nifty source code, it’s recommended to install Nifty in editable Mode. First obtain the Nifty source code. You can do this by downloading and unpacking the latest release or cloning this github repository.

Once you have the source code, change to the top level of the source code directory (you should see the file). Run:

pip install -e .

to install Nifty in editable mode. Now you can edit your copy of the Nifty source code and run it without having to reinstall every time.

Quick Start

To run Nifty4Gemini, getting data reduction parameters from an interactive input session:

runNifty nifsPipeline -i

To run Nifty in full-automatic mode with default input parameters, provide the -f flag and a full local path to the raw data or a Gemini Program ID string (Eg: GN-2013A-Q-62).

runNifty nifsPipeline -f <data_location>


See the LICENSE file in the current directory. Note that downloadFromGeminiPublicArchive does not use the MIT license. Refer to the LICENCE file in the downloadFromGeminiPublicArchive directory to view the appropriate license.

Release history Release notifications

This version
History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
nifty4gemini-1.0.1-py2-none-any.whl (155.3 kB) Copy SHA256 hash SHA256 Wheel py2 Oct 1, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page