Python wrapper of the gcv-spl Fortran library gcvspl.f, created by H.J. Woltring.
Reference: Woltring, 1986, A FORTRAN package for generalized, cross-validatory spline smoothing and differentiation. Adv. Eng. Softw. 8:104-113.
Charles Le Losq, IPGP, Paris. lelosq@ipgp.fr
Yu Feng, University of California, Berkeley. yfeng1@berkeley.edu
The gcvspline wrapper is provided under a GNU GPL3 license. The license of the fortran code GCVSPL.f is different, retraining commercial use. See the LICENSE file for further details.
gcvspline is provided as is, use at your own risks.
numpy >= 1.12.1 (due to a f2py bug in 1.12.0)
Installation through pip is recommended:
pip install gcvspline
Pip wheels for Python 3.6 to 3.11 are provided for Windows users (only for Python 3.6 for 32 bit systems). Mac OS and Linux version are built from source and requires gfortran.
If the installation fails and this seems related to a problem with FORTRAN compilation, please check the status of your FORTRAN compiler.
The fastest way will be to upload any fortran code and try building it.
OSX Sierra and High Sierra may run into problems with the assembler in some case, fixed by adding the line
export PATH="/usr/bin/$PATH"
in your .bash_profile file.