def test_simoncelli(G): g = filters.Simoncelli(G) g1 = filters.Simoncelli(G, a=0.25)
def test_simoncelli(self): f = filters.Simoncelli(self._G) self._test_methods(f, tight=True) f = filters.Simoncelli(self._G, a=0.25) self._test_methods(f, tight=True)
def get_filter(params, graph): if params.filter_name == 'heat': return filters.Heat(G=graph, scale=params.frequency) elif params.filter_name == 'simoncelli': return filters.Simoncelli(G=graph, a=params.frequency) assert False