MT spike generationThe <spike_gen> object specifies how the time-varying integrated response of each MT unit is transformed to generate action potentials. Basically, the raw MT response is shifted and scaled and then half-wave rectified and interpreted as a spiking probability.
The type parameter here specifies poisson, indicating that spikes will be generated using a pseudorandom Poisson spike generator.<spike_gen> type poisson # Spike gen. algorithm, dflt "poisson"; "ifc" offset0 0.0 # Add to filter output, BEFORE scaling (0.0) scale 0.004 # Multiply filter output (1.0) offset 0.001 # Add to filter output, AFTER scaling (0.0) toffset 0.060 (s) # Time delay added to spike times spike_dump 0 # Dump firing probability to 'zz.dump.pl' if 1 </spike_gen>The order of operations is:
- offset0 is added to the raw signal.
- The signal is now scaled by scale.
- offset is now added to the signal.
- A temporal offset toffset is applied to the signal.
- The signal is half-wave rectified.
- The signal is interpreted as a firing probability per millisecond.
- Poisson spikes are generated.