Skip to content
jamesjun edited this page Dec 22, 2017 · 1 revision

You can view PSTH in the Manual GUI by selecting a unit in the waveform view and pressing 'P'. You need to specify the file name containing the timing of the trial (in seconds) in P.vcFile_trial. The file format can be either .csv or .mat file containing a vector variable of any name.

Set the time range to be displayed using P.tlim_psth. For example, tlim_psth=[-1,5] displays the PSTH 1 sec before and 5 sec after each timestamp.

Set the time bin width using P.tbin_psth (in seconds).

PSTH GUI

See also: P.tlim_psth, P.tbin_psth

Clone this wiki locally