[Debian-astro-commits] [iraf] 01/01: Add extra entry for NR files

Ole Streicher olebole at moszumanska.debian.org
Tue Apr 25 15:00:30 UTC 2017


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch master
in repository iraf.

commit 9f797155ba1d12d18934ee9ab5b1929d6356743d
Author: Ole Streicher <ole at aip.de>
Date:   Tue Apr 25 17:00:17 2017 +0200

    Add extra entry for NR files
---
 debian/copyright | 50 ++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 38 insertions(+), 12 deletions(-)

diff --git a/debian/copyright b/debian/copyright
index 878fa53..b447034 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -47,18 +47,6 @@ Comment: If another compiler than gcc is used, the files
  The files pkg/*/ytab.[ch] are licensed by the GPL, but as a special
  exception they are allowed to be distributed under any license in our
  case. So, they are also covered by this MIT license.
-Notice: There are some files copied from Numerical Recipes in the distribution.
- Since they are usually not freely distributable, I asked upstream and got the
- following response from Mike Fitzpatrick:
- http://iraf.net/forum/viewtopic.php?showtopic=1468262
- .
- We have explicit permission from the authors to use this derived code so long
- as the following copyright is included in the file:
- .
-  # Based on Numerical Recipes by Press, Flannery, Teukolsky, and Vetterling.
-  # Used by permission of the authors.
-  # Copyright(c) 1986 Numerical Recipes Software.
-
 
 Files: sys/gio/ncarutil/*
 Copyright: Copyright (C) 1986, 2007-2011 University Corporation for
@@ -456,3 +444,41 @@ Note: This package was first debianized by Zed Pobre <zed at debian.org>
  .
  The build structure was taken from the Fedora approach made by
  Joseph Wang <joequant at gmail.com> which I adopted as a start.
+
+Files: pkg/xtools/numrecipes.x noao/onedspec/splot/spdeblend.x
+ noao/rv/numrep.x noao/artdata/numrecipes.x
+Copyright: 1986 Numerical Recipes Software
+License: Non-free
+ Based on Numerical Recipes by Press, Flannery, Teukolsky, and Vetterling.
+ Used by permission of the authors.
+ .
+ See also http://iraf.net/forum/viewtopic.php?showtopic=1468262
+Remark: 
+ The following common procedures from NR are used here, that can probably
+ easily replaced from other sources:
+ .
+  * gammln(xx): natural log of gamma function.
+  * gasdev(seed): normally distributed deviate of zero mean and unit var
+  * poidev(xm, seed): Poisson deviates for a given mean.
+ .
+ Also, the following routines are used only in the noao/rv package.
+ We could just remove that package from the distribution, or we find a
+ replacement for four1 (the two other just call this).
+ .
+  * four1(data, nn, isign): Replaces DATA by it's discrete transform
+  * realft(data, N, isign): Fourier Transform of a set of 2N data points.
+  * twofft(data1, data2, fft1, fft2, N): calls four1()
+ .
+ Then we have LU decomposition functions, used in pkg/utilities/stxtools/xtwcs.x:
+ .
+  * ludcmp(a, n, np, indx, d)
+  * lubksb(a, n, np, indx, b)
+  * luminv(a, n, np)
+ .
+ and Levenberg-Marquardt nonlinear chi square minimization:
+ .
+  * mr_eval(x, y, npts, params, flags, np, a, delta, nfit, chisq)
+  * mr_invert(a, b, n)
+  * mr_solve(x, y, npts, params, flags, np, nfit, mr, chisq)
+ .
+ Maybe this could be replaced by cminpack?

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/iraf.git



More information about the Debian-astro-commits mailing list