Changeset 325

Show
Ignore:
Timestamp:
11/12/08 17:08:02 (2 months ago)
Author:
emuller
Message:

Improved comments to examples/stgen/inh_2Dmarkov_psth.py

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/examples/stgen/inh_2Dmarkov_psth.py

    r324 r325  
    1 # Generate the PSTH for an inhomogeneous gamma renewal process 
    2 # with a step change in the rate (b changes, a stays fixed) 
     1# This script generates Figure 5 in: 
    32 
     3#       Eilif Muller, Lars Buesing, Johannes Schemmel, and Karlheinz Meier  
     4#       Spike-Frequency Adapting Neural Ensembles: Beyond Mean Adaptation and Renewal Theories 
     5#       Neural Comput. 2007 19: 2958-3010. 
     6 
     7# i.e. the PSTH for a 2D adapting markov process undergoing 
     8# a step change in statistics due to a step stimulus. 
    49 
    510 
     
    4045psth/= dt*float(trials)/1000.0 
    4146 
    42 #plot(t,psth,linestyle='steps') 
     47print "Done." 
     48print "Plotting is left to the user as follows:" 
     49print "plot(t,psth,linestyle='steps')" 
    4350 
     51