EarthScope / evalresp

Evaluates instrument responses in FDSN and derivative formats
GNU Lesser General Public License v3.0
11 stars 2 forks source link

Replace GNU plotutils spline (GPL) with John Burkardt spline (LGPL) #17

Closed he-hesce closed 7 years ago

he-hesce commented 7 years ago

Add files spline.{c.h}, evalresp_spline.c. Remove file evr_spline.c. Update Makefile.am with added and removed files.

Do note that evr_spline() API remains the same, however, tension and k arguments are not used. The header file remains evr_spline.h and is still included in resp_fctns.c.

Below is the original GNU plotutils spline output (red) for a sample test case, input in blue:

evalresp-original-spline

And the new Burkardt spline output (red), input in blue:

evalresp-burkardt-spline

Actual numerical results will vary slightly due to different algorithm.

he-hesce commented 7 years ago

Resolves issue #14