Changeset 30932 in project


Ignore:
Timestamp:
05/28/14 07:04:48 (6 years ago)
Author:
Ivan Raikov
Message:

9ML-toolkit: adding source and destination port fields to projection

Location:
release/4/9ML-toolkit/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • release/4/9ML-toolkit/trunk/examples/Brunel00/Brunel_network_alpha.xml

    r30905 r30932  
    445445
    446446    <!-- Projection from external sources to all neurons --> 
    447     <Projection name="External" >
     447    <Projection name="External"
     448                input_event_port="spike"
     449                input_analog_port="Isyn"
     450                output_event_port="spikeOutput"
     451                input_response_port="Ispike">
    448452      <source><reference>Ext</reference></source>
    449453      <target><reference>All neurons</reference></target>
     
    454458
    455459    <!-- Projection from excitatory neurons to all neurons --> 
    456     <Projection name="Excitation" >
     460    <Projection name="Excitation"
     461                input_event_port="spike"
     462                input_analog_port="Isyn"
     463                output_event_port="spikeOutput"
     464                input_response_port="Ispike">
    457465      <source><reference>Exc</reference></source>
    458466      <target><reference>All neurons</reference></target>
     
    466474
    467475    <!-- Projection from inhibitory neurons to all neurons --> 
    468     <Projection name="Inhibition" >
     476    <Projection name="Inhibition"
     477                input_event_port="spike"
     478                input_analog_port="Isyn"
     479                output_event_port="spikeOutput"
     480                input_response_port="Ispike">
    469481      <source><reference>Inh</reference></source>
    470482      <target><reference>All neurons</reference></target>
  • release/4/9ML-toolkit/trunk/examples/Brunel00/Brunel_network_delta.xml

    r30924 r30932  
    342342
    343343    <!-- Projection from external sources to all neurons --> 
    344     <Projection name="External" >
     344    <Projection name="External"
     345                input_event_port="spike"
     346                input_analog_port="Isyn"
     347                output_event_port="spikeOutput"
     348                input_response_port="Ispike">
    345349      <source><reference>Ext</reference></source>
    346350      <target><reference>All neurons</reference></target>
     
    350354
    351355    <!-- Projection from excitatory neurons to all neurons --> 
    352     <Projection name="Excitation" >
     356    <Projection name="Excitation"
     357                input_event_port="spike"
     358                input_analog_port="Isyn"
     359                output_event_port="spikeOutput"
     360                input_response_port="Ispike">
    353361      <source><reference>Exc</reference></source>
    354362      <target><reference>All neurons</reference></target>
     
    361369
    362370    <!-- Projection from inhibitory neurons to all neurons --> 
    363     <Projection name="Inhibition" >
     371    <Projection name="Inhibition"
     372                input_event_port="spike"
     373                input_analog_port="Isyn"
     374                output_event_port="spikeOutput"
     375                input_response_port="Ispike">
    364376      <source><reference>Inh</reference></source>
    365377      <target><reference>All neurons</reference></target>
  • release/4/9ML-toolkit/trunk/templates/Network.sml.tmpl

    r30905 r30932  
    106106        val fieldV = Vector.sub ({{pop.name}}_field_vector,i)
    107107{% endif %}
    108         val Isyn_i  = case Wnet of
    109                            SOME W => foldl (fn (W,ax) => Real.+ (RTensor.sub(W,[i+n0,0]), ax)) 0.0 W
    110                          | NONE => 0.0
     108        val {{pop.inputAnalogPorts}}_i  =
     109            case Wnet of
     110                SOME W => foldl (fn (W,ax) => Real.+ (RTensor.sub(W,[i+n0,0]), ax)) 0.0 W
     111              | NONE => 0.0
    111112        (*val _ = putStrLn TextIO.stdOut ("# {{pop.name}}: t = " ^ (showReal t) ^ " Isyn_i = " ^ (showReal Isyn_i) ^ " V = " ^ (showReal V))*)
    112113        val nstate = {{pop.name}}_f {{ pop.value.prototype.updateStateML }}
Note: See TracChangeset for help on using the changeset viewer.