code: def derivative(self, x, der=1):
          
          from scipy.interpolate import splev
          return splev(x, self._sp, der=der)
docs: return the derivative a an array of input values
  
          x   : the inputs        
          der : the order of derivative