examples.test_ccstim

Test the ccstim generator.

Usage: python test_ccstim.py

This script runs ccstim for each of it’s potential inputs, and plots the resulting waveforms.

examples.test_ccstim.test_cc_stim()[source]
stim: a dictionary with keys [required]
delay (delay to start of pulse train, msec [all] duration: duration of pulses in train, msec [all] Sfreq: stimulus train frequency (Hz) [timedSpikes] PT: post-train test delay [all] NP: number of pulses in the train [timedSpikes, exp] amp: amplitude of the pulses in the train [all] hypamp: amplitude of prehyperpolarizing pulse [hyp] hypdur: duration of prehyperpolarizing pulse [hyp] spikeTimes” times of spikes [timedSpikes]