Changeset 325
- Timestamp:
- 11/12/08 17:08:02 (2 months ago)
- Files:
-
- trunk/examples/stgen/inh_2Dmarkov_psth.py (modified) (2 diffs)
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: 3 2 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. 4 9 5 10 … … 40 45 psth/= dt*float(trials)/1000.0 41 46 42 #plot(t,psth,linestyle='steps') 47 print "Done." 48 print "Plotting is left to the user as follows:" 49 print "plot(t,psth,linestyle='steps')" 43 50 51

