docs: def SpiceUDREFN(f):
      """
      Decorator for wrapping python functions in spice udrefn callback type
      :param f: function to be wrapped
      :type f: builtins.function
      :return: wrapped udrefn function
      :rtype: builtins.function
      """
      @functools.wraps(f)
      def wrapping_udrefn(t1, t2, s1, s2, t):
          result = f(t1, t2, s1, s2)
          t[0] = c_double(result)
  
      return UDREFN(wrapping_udrefn)