View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Download ↗ | Release notes | Installation | Packages | X11IRAF | PyRAF | Forum ↗

Numerical Recipes

Up to version 2.16.1 (released 2013), IRAF contains a number of routines adopted from the book “Numerical Recipes in Fortran”. The FAQ of the NR book about licensing says:

  • […] Can you include Numerical Recipes routines as part of that source code, including a notice that they are only allowed to be used with your application?
    • Sorry, no. We never give permission for Numerical Recipes source code to be posted on any public server, or distributed with any freeware or shareware package […]
  • You want to translate some (or all) the Numerical Recipes routines to a different computer language, and then redistribute the resulting translations.
    • […] However, you can’t redistribute the translations in any manner, since they are “derivative works” and still subject to our copyright.

It seems that IRAF was allowed to “use” this code as long as the following lines are included:

# Based on Numerical Recipes by Press, Flannery, Teukolsky, and Vetterling.
# Used by permission of the authors.
# Copyright(c) 1986 Numerical Recipes Software.

This looks however questionable here: First it says “used” and not “distribute” or “modify”, which makes these files unsuitable for an Open Source project. It is also impossible to link these files with GPL code (like math/slalib/) and redistribute the binaries, as it is done in the binary distributions of IRAF 2.16.1.

The following files are affected:

This problem was reported as issue #21 and resolved in pull request #37 in the github repository iraf/iraf-v216.

All Numerical Recipes code is removed and replaced by free code in the community distribution of IRAF.

Code taken from the iraf64 project

The IRAF versions with 64 bit support include code taken from the IRAF64 project, without acknowledging the author, and by violating the license conditions:

See COPYRIGHTS file for original IRAF.

Do not remove CREDITS_IRAF64 and LICENCE_IRAF64 from IRAF package.

Please display following message when starting IRAF shells;

  This product includes results achieved by the IRAF64 project in 2006-
  2009 directed by Chisato Yamauchi (C-SODA/ISAS/JAXA).

So far, the following files are found to be affected:

This was reported as issue #92 and resolved with pull request #125 in the github repository iraf/iraf-v216.

The community distribution of IRAF correctly acknowledges the contributions of the IRAF64 project.