コード例 #1
0
def test_has_all_monotonic_neurites():

    _, n = _load_neuron('Neuron.swc')

    nt.assert_false(nrn_chk.has_all_monotonic_neurites(n))

    _make_monotonic(n)

    nt.assert_true(nrn_chk.has_all_monotonic_neurites(n))
コード例 #2
0
def test_has_all_monotonic_neurites():

    _, n = _load_neuron('Neuron.swc')

    nt.assert_false(nrn_chk.has_all_monotonic_neurites(n))

    _make_monotonic(n)

    nt.assert_true(nrn_chk.has_all_monotonic_neurites(n))
コード例 #3
0
ファイル: benchmarks.py プロジェクト: BlueBrain/NeuroM
 def time_has_all_monotonic_neurites(self):
     nc.has_all_monotonic_neurites(self.neuron, tol=1e-6)
コード例 #4
0
ファイル: benchmarks.py プロジェクト: yamagatm/NeuroM
 def time_has_all_monotonic_neurites(self):
     nc.has_all_monotonic_neurites(self.neuron, tol=1e-6)