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

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

src/9/m/9ML-0.1.0/nineml/examples/AL/components_done/iaf.py   9ML(Download)
                                   al.ReducePort("ISyn", reduce_op="+"),],
 
                event_ports = [ al.SendEventPort('spikeoutput'),],
                 parameters = [ 'cm','taurefrac','gl','vreset','vrest','vthresh' ]
                )

src/9/m/9ML-0.1.0/test/unit/nineml_test/abstraction_layer/component/ports_test.py   9ML(Download)
from nineml.abstraction_layer import AnalogPort
from nineml.abstraction_layer import RecvPort, SendPort, ReducePort
from nineml.abstraction_layer import RecvEventPort, SendEventPort
from nineml.exceptions import NineMLRuntimeError
 
    def test_accept_visitor(self):
 
        from nineml.abstraction_layer import RecvEventPort, SendEventPort
        class TestVisitor(object):
            def visit(self, obj, **kwargs):