Changeset 1050

Show
Ignore:
Timestamp:
01/23/12 14:56:59 (4 months ago)
Author:
apdavison
Message:

In neo_output branch, added clear keyword to Population.get_data()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/neo_output/examples/reset_example.py

    r1033 r1050  
    2525data = cell.get_data() 
    2626 
    27 sim.end() 
    28  
    2927for segment in data.segments: 
    3028    vm = segment.analogsignalarrays[0] 
     
    3533plt.ylabel("Membrane potential (%s)" % vm.units._dimensionality) 
    3634plt.savefig("reset_example_%s.png" % simulator_name) 
     35 
     36sim.end()