Did I find the right examples for you? yes no

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/l/i/libNeuroML-HEAD/neuroml/examples/build_3D_network.py   libNeuroML(Download)
    soma = Segment(proximal=p, distal=d, name = 'Soma', id = 0)
 
    morphology.segments.append(soma)
    parent_seg = soma
 
        parent_seg = dend
 
        morphology.segments.append(dend)
 
    morphology.id = "TestMorphology"

src/l/i/libNeuroML-HEAD/neuroml/examples/morphology_generation.py   libNeuroML(Download)
 
test_morphology = neuroml.Morphology()
test_morphology.segments.append(soma)
test_morphology.segments += axon_segments
test_morphology.id = "TestMorphology"

src/l/i/libNeuroML-HEAD/neuroml/arraymorph.py   libNeuroML(Download)
        for index in range(self.num_vertices-1):
            seg = self.segment_from_vertex_index(index)
            morphology.segments.append(seg)
 
        return morphology

src/l/i/libNeuroML-0.1.9.1/neuroml/arraymorph.py   libNeuroML(Download)
        for index in range(self.num_vertices-1):
            seg = self.segment_from_vertex_index(index)
            morphology.segments.append(seg)
 
        return morphology

src/l/i/libNeuroML-HEAD/neuroml/test/test_morphology.py   libNeuroML(Download)
 
        for i in range(10):
            self.test_morphology.segments.append(neuroml.Segment())
 
    def test_id(self):

src/l/i/libNeuroML-0.1.9.1/neuroml/test/test_morphology.py   libNeuroML(Download)
 
        for i in range(10):
            self.test_morphology.segments.append(neuroml.Segment())
 
    def test_id(self):