raster
Make raster plots of point data (e.g., spikes or synchronization
pulses). The default output format is appropriate for xplot.
Options
- raster - write a plot file showing impulses (xplot format).
- em_raster - write a plot file of impulses for locations of
eye movements.
- print_spikes - write spike counts and times to ASCII file
(postplot format)
- write_plain - write spike times to a file. Spikes are dumped in
the order they occur in the file, separated by spaces, with the last
spike in each trial followed by a newline instead of a space. Trials
are written in the order they occur in the file. Must use grouping
"all".
Example - Plot all rasters on default spike channel:
#
# "unit0" is assumed to be the channel to plot.
#
raster
group 0
raster
Example - write spike times to a file
#
# Write spike times to ASCII file
#
raster
all
write_plain
chan unit0
start 0
period 1000
condition
param_val contrast 100