noirlab-iraf / iraf-v218

IRAF v2.18DEV
Other
0 stars 0 forks source link

NR LICENSE: Replace LU-decomposition code in STXTOOLS #13

Closed mjfitzpatrick closed 10 months ago

mjfitzpatrick commented 10 months ago

Various LU codes are used in nttools$stxtools that should be replaced.

mjfitzpatrick commented 10 months ago

The same change should be made to the TABLES and ST4GEM version of STXTOOLS

mjfitzpatrick commented 10 months ago

The code here is the LU decomposition routines ludcmp/ludcmd/lubksd/lubksb called by the Savitsky-Golay filter code SAVGOL and SG_CONVOLVE. These routines are not used by any of the NTTOOLS tasks or in any external package. Replacing the code with the LAPACK routines in XTOOLS would preserve the functionality but introduce a new dependency on xtools linkage for some packages.

The code was removed as unused/unneeded rather than replaced in order to resolve the NR issue.