Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/9/m/9ML-0.1.0/nineml/examples/UL/nested_example.py   9ML(Download)
 
column = nineml.Group("Column")
column.add(exc_cells, inh_cells)
 
exc_psr = nineml.SynapseType(
                    connection_type=inh_connection_type)
 
column.add(inner_exc2all, inner_inh2all)
 
inter_column_connector = nineml.ConnectionRule(
                    connection_type=exc_connection_type)
 
network.add(columns, outer_exc2all)
 
model = nineml.Model("Nested 9ML example model")

src/9/m/9ML-0.1.0/nineml/examples/UL/simple_example.py   9ML(Download)
 
network = nineml.Group("Network")
network.add(exc_cells)
network.add(inh_cells)
network.add(all_cells)
network.add(exc2exc)
network.add(inh2all)

src/p/y/PyNN-HEAD/src/nineml/__init__.py   PyNN(Download)
            model.add_group(group)
        for p in _populations:
            main_group.add(p.to_nineml())
        for prj in _projections:
            main_group.add(prj.to_nineml())
    def to_nineml(self):
        group = nineml.Group(self.label)
        for p in self.populations:
            group.add(p.to_nineml())
        return group

src/9/m/9ML-0.1.0/test/test_to_resolve/test_roundtripUL.py   9ML(Download)
 
    network = nineml.Group("Network")
    network.add(exc_cells)
    network.add(inh_cells)
    network.add(all_cells)
    network.add(exc2exc)
    network.add(inh2all)