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

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

src/9/m/9ML-0.1.0/nineml/examples/UL/simple_example.py   9ML(Download)
inh_cells = nineml.Population("Inhibitory cells", 25, inh_celltype,
                              nineml.PositionList(structure=grid2D))
all_cells = nineml.Selection("All cells",
    nineml.Any(
        nineml.Eq("population[@name]", exc_cells.name),

src/p/y/PyNN-HEAD/src/nineml/__init__.py   PyNN(Download)
    def to_nineml(self):
        selection = nineml.Selection(self.label,
                        nineml.All(
                            nineml.Eq("population[@name]", self.parent.label),
                            nineml.In("population[@id]", "%s:%s:%s" % (self.mask.start or "", self.mask.stop or "", self.mask.step or ""))

src/9/m/9ML-0.1.0/test/test_to_resolve/test_roundtripUL.py   9ML(Download)
    inh_cells = nineml.Population("Inhibitory cells", 25, inh_celltype,
                                  nineml.PositionList(structure=grid2D))
    all_cells = nineml.Selection("All cells",
        nineml.Any(
            nineml.Eq("population[@name]", exc_cells.name),