implementation of 1D and 2D fast spline interpolation algorithm (Habermann and Kindermann 2007) in Python