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

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

src/9/m/9ML-0.1.0/nineml/examples/UL/simple_example.py   9ML(Download)
 
exc_cells = nineml.Population("Excitatory cells", 100, exc_celltype,
                              nineml.PositionList(structure=grid2D))
inh_cells = nineml.Population("Inhibitory cells", 25, inh_celltype,
                              nineml.PositionList(structure=grid2D))

src/9/m/9ML-0.1.0/nineml/examples/UL/nested_example.py   9ML(Download)
                    number=100,
                    prototype=exc_celltype,
                    positions=nineml.PositionList(structure=inner_grid))
 
inh_cells = nineml.Population(
                    name="Inhibitory cells",
                    number=25,
                    prototype=inh_celltype,
                    positions=nineml.PositionList(structure=inner_grid))
                    number=9,
                    prototype=column,
                    positions=nineml.PositionList(structure=outer_grid))
 
outer_exc2all = nineml.Projection(

src/p/y/PyNN-HEAD/src/nineml/__init__.py   PyNN(Download)
                                number=len(self),
                                prototype=self.celltype.to_nineml(self.label)[0],
                                positions=nineml.PositionList(structure=structure))
        return population
 

src/9/m/9ML-0.1.0/test/test_to_resolve/test_roundtripUL.py   9ML(Download)
 
    exc_cells = nineml.Population("Excitatory cells", 100, exc_celltype,
                                  nineml.PositionList(structure=grid2D))
    inh_cells = nineml.Population("Inhibitory cells", 25, inh_celltype,
                                  nineml.PositionList(structure=grid2D))
        number=100,
        prototype=exc_celltype,
        positions=nineml.PositionList(structure=inner_grid))
 
    inh_cells = nineml.Population(
        name="Inhibitory cells",
        number=25,
        prototype=inh_celltype,
        positions=nineml.PositionList(structure=inner_grid))
        number=9,
        prototype=column,
        positions=nineml.PositionList(structure=outer_grid))
 
    outer_exc2all = nineml.Projection(