docs: def SpiceUDFUNS(f):
      """
      Decorator for wrapping python functions in spice udfuns callback type
      :param f: function that has one argument of type float, and returns a float
      :type f: builtins.function
      :return: wrapped udfunc function
      :rtype: builtins.function
      """
  
      @functools.wraps(f)
      def wrapping_udfuns(x, value):
          result = f(x)
          value[0] = c_double(result)
  
      return UDFUNS(wrapping_udfuns)