def delegated(func):
    @wraps(func)
    def wrapper(*args, **kwargs):
        try:
            return func(*args, **kwargs)
        except KeyError:
            raise ImplementationError(
                "Method '%s' not provided by registered "
                "implementation '%s'" % (func.__name__, args[0].impl))
    return wrapper

# Map geometry methods to their GEOS delegates
Compute the mean of a spike-dependent quantity for every cluster.
dataset/ETHPy150Open Toblerity/Shapely/shapely/impl.py/delegated--crossover with--dataset/ETHPy150Open kwikteam/phy/phy/io/array.py/grouped_mean