Changeset 30883 in project


Ignore:
Timestamp:
05/16/14 12:29:13 (6 years ago)
Author:
Ivan Raikov
Message:

9ML-toolkit: further synapse tweaks in brunel example

Location:
release/4/9ML-toolkit/trunk/examples/Brunel00
Files:
2 edited

Legend:

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

    r30881 r30883  
    88    <Parameter name="tau_syn" dimension='time'/> <!-- synapse time constant -->
    99
     10    <Parameter name="scale" /> <!-- scaling factor -->
     11
    1012    <EventPort name="spike"/>
    1113
     
    1416    <AnalogPort name="tspike" mode='recv' dimension='time'/>
    1517
     18    <AnalogPort name="A" mode="send" dimension='current'/>
     19    <AnalogPort name="B" mode="send" dimension='current'/>
    1620    <AnalogPort name="Isyn" mode="send" dimension='current'/>
    1721
    1822    <Dynamics>
    1923
     24        <StateVariable name="A" dimension="current"/>
     25        <StateVariable name="B" dimension="current"/>
    2026        <StateVariable name="Isyn" dimension="current"/>
    21 
    22         <Relation name="alpha" argument="x">
    23           <MathInline> heaviside (x) * (x * exp (1 - x)) </MathInline>
    24         </Relation>
    2527
    2628        <Regime name="default">
    2729         
    28           <TimeDerivative variable="Isyn">
    29             <MathInline> (- Isyn) / tau_syn </MathInline>
     30          <TimeDerivative variable="A">
     31            <MathInline> (- A) / (tau_syn * 0.9999) </MathInline>
    3032          </TimeDerivative>
     33
     34          <TimeDerivative variable="B">
     35            <MathInline> (- B) / tau_syn </MathInline>
     36          </TimeDerivative>
     37
     38          <StateAssignment variable="Isyn" >
     39            <MathInline> B - A </MathInline>
     40          </StateAssignment>
    3141
    3242          <OnEvent src_port="spike">
    3343           
     44            <StateAssignment variable="A" >
     45              <MathInline> A + Ispike * scale </MathInline>
     46            </StateAssignment>
     47
     48            <StateAssignment variable="B" >
     49              <MathInline> B + Ispike * scale </MathInline>
     50            </StateAssignment>
     51
    3452            <StateAssignment variable="Isyn" >
    35               <MathInline> (Isyn * exp (- h / tau_syn)) + (Ispike * alpha ((t - tspike) / tau_syn)) </MathInline>
     53              <MathInline> B - A </MathInline>
    3654            </StateAssignment>
    3755
  • release/4/9ML-toolkit/trunk/examples/Brunel00/Brunel_network_alpha.xml

    r30881 r30883  
    271271      </Property>
    272272
     273      <Property>
     274        <label>scale</label>
     275        <value><MathInline>2718.3</MathInline></value>
     276      </Property>
     277
     278      <Initial>
     279        <label>A</label>
     280        <value>0.0</value>
     281      </Initial>
     282
     283      <Initial>
     284        <label>B</label>
     285        <value>0.0</value>
     286      </Initial>
    273287
    274288      <Initial>
     
    278292
    279293      <Initial>
     294        <label>tspike</label>
     295        <value>0.0</value>
     296      </Initial>
     297
     298      <Initial>
    280299        <label>Ispike</label>
    281         <value>0.0</value>
    282       </Initial>
    283 
    284       <Initial>
    285         <label>tspike</label>
    286300        <value>0.0</value>
    287301      </Initial>
Note: See TracChangeset for help on using the changeset viewer.