Spike triggered average (STA) of the HH model
The file revcor.tgz contains 5 files; three
are specific to XPP and two are general files. Uncompress and untar
these in a directory to get them. (Winzip will work in Windows).
The files are
- hhtimes.dat - the firing times of 129 spikes from the a neural
mode;
- 4secnoise.dat - the stimulus in .05 msec increments;
- hht4.tab - firing times in XPPAUT table
- froz4.tab - stimulus in XPP table
- revcor4.ode - XPP file for computing STA
You can use the first two files to compute the STA with MATLAB; I
don't know how to do this, but basically you just average the
spike-time shifted stimulus over the 129 firing times. Here is how to
do it in XPP:
How to compute the STA using XPP
- Type xpp revcor4.ode
- Click nUmerics stocHastic Compute and fill in the dialog
as follows
- Range over: ind
- Steps: 128
- Start: 1
- End: 129
and click Ok
- Click stocHastic Mean which will average all 128 runs
- Click Esc to return to the main menu
- Click Xivst followed by Enter
- Voila! The spike triggered average.