def generateOnlyInterface(list, int):
    for n in list:
        if int.providedBy(n):
            yield n
Refine candidate locations
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/words/xish/domish.py/generateOnlyInterface--crossover with--dataset/ETHPy150Open scikit-beam/scikit-beam/skbeam/core/feature.py/peak_refinement