Skip to content

Generating trial files

jamesjun edited this page Dec 20, 2017 · 1 revision

You can plot PSTH if you have trial timing information. You can either specify a .csv or .mat file that contains trial times (in seconds unit) by setting vcFile_trial parameter, or generate from one of the recorded analog channel containing TTL pulses.

To generate the trial file from a recorded channel (vcFile_trial), please run

jrc maketrial myparam.prm

You will need to supply the channel number (starting with 1), and whether to detect rising or falling edge.

If you have multiple recordings to be combined (if P.csFile_merge is set), the trial timing from multiple files will be concatenated.

Clone this wiki locally