def test_K5_endpoints(self):
        G=nx.complete_graph(5)
        b=nx.betweenness_centrality(G,
                                          weight=None,
                                          normalized=False,
                                          endpoints=True)
        b_answer={0: 4.0, 1: 4.0, 2: 4.0, 3: 4.0, 4: 4.0}
        for n in sorted(G):
            assert_almost_equal(b[n],b_answer[n])
Butterworth bandpass filter.
dataset/ETHPy150Open gkno/gkno_launcher/src/networkx/algorithms/centrality/tests/test_betweenness_centrality.py/TestBetweennessCentrality.test_K5_endpoints--crossover with--dataset/ETHPy150Open kwikteam/phy/phy/traces/filter.py/bandpass_filter