iraf-v216 · Code · Issues (50) · Pull requests (81)
iraf.net pull request #37
Replace or remove non-free code (Numerical Recipes etc.)
 olebole merged 13 commits to iraf-community/iraf
olebole commented on 2017-05-05
Here is a list of files that contain code from Numerical Recipes:
- pkg/xtools/numrecipes.x(Currently unused; may be removed)- GAMMLN: natural log of gamma function
- POIDEV: Poisson deviates for a given mean
- GASDEV: normally distributed deviate of zero mean and unit var
- TWOFFT: complex FFTs of two input real arrays
- REALFT: FFT of a set of 2N real valued data points
- FOUR1: forward or inverse FFT of the input array (removed)
- LUDCMP: LU decomposition of a square matrix
- LUBKSB: backsubstitution to solve a system
 
- noao/onedspec/splot/spdeblend.x- GASDEV: normally distributed deviate of zero mean and unit var
 
- noao/rv/numrep.x- FOUR1: forward or inverse FFT of the input array (removed)
- REALFT: FFT of a set of 2N real valued data points
- TWOFFT: complex FFTs of two input real arrays
 
- noao/artdata/numrecipes.x- GAMMLN: natural log of gamma function
- POIDEV: Poisson deviates for a given mean
- GASDEV: normally distributed deviate of zero mean and unit var
 
- noao/imred/ccdred/ccdtest/t_mkimage.x- MKSIGMA: Sequence of random numbers of the specified sigma
 
- sys/mwcs/mwlu.x- MW_LUDECOMPOSE: LU decomposition of a square matrix
- MW_LUBACKSUB: backsubstitution to solve a system
 
- pkg/utilities/nttools/stxtools/
- noao/astutil/asttools/asttimes.x- AST_JULDAY_TO_DATE: Convert Julian date to calendar date
 
- noao/digiphot/daophot/daolib/
- noao/imred/vtel/mrqmin.x(removed)- MRQMIN: Levenberg-Marquard nonlinear chi square minimization
- MRQCOF: Evaluate linearized matrix coefficients
- GAUSSJ: Linear equation solution by Gauss-Jordan elimination
- COVSRT: Sort covariance matrix
 
- pkg/utilities/nttools/trebin/
- vendor/cfitsio/eval.y,- vendor/cfitsio/eval_y.c(backported from newer cfitsio)- gammln: natural log of gamma function
- poidev: Poisson deviates for a given mean
- gasdev: normally distributed deviate of zero mean and unit var
 
All marked items are handled – either by replacing with free code, or by removal (which is then marked in the text). This fixes #21.
Commits
- Replace NRs “gasdev” with a clean-room implementation. [dd617502]
- Replace GAMMLN with system provided function lgammaf() [8a1f7fd5]
- Replace NRs “poidev” with a clean-room implementation. [27e9bf15]
- Replace DAORAN with URAND [b84e95c1]
- Remove Numerical Recipes code from cfitsio [feea0a18]
- Replace ast_julday_to_date with a BSD-3-Clause implementation [bcb7d52a]
- Replace NR routines for LU decomposition by lapack calls [73b3bebb]
- Remove math$ieee package [05663ca5]
- Replace NR routines for FFT by fftpack calls [195fb443]
- Remove vtel subpackage from imred [1df7f217]
- Add replacement for spline and polynomial interpolations [a31fdc22]
- Add a license notice for the math$llsq package. [66f417dc]
- Remove unused Savitzky-Golay smoothing code [300105c5]
Last updated on 2017-11-17