def SpiceUDREPU(f):
    """
    Decorator for wrapping python functions in spice udrepu callback type
    :param f: function to be wrapped
    :type f: builtins.function
    :return: wrapped udrepu function
    :rtype: builtins.function
    """
    @functools.wraps(f)
    def wrapping_udrepu(beg, end, et):
        f(beg, end, et)

    return UDREPU(wrapping_udrepu)
Decorator for wrapping python functions in spice udrepu callback type
    :param f: function to be wrapped
    :type f: builtins.function
    :return: wrapped udrepu function
    :rtype: builtins.function