Time origin specification
For many analysis types, a time window is specified. This window is specified relative to the time origin of the data which it concerns. The time origin may be changed to arbitrary points or events by specifying a channel and an event code or ordinal point number. Currently, when a new time origin is specified using the key words below, all point records (rtype = 0) are changed, and none other. It is important to note that the time origin is changed before any conditions or analysis is applied.
- start_chan [cname] - The time origin is to be determined relative to a value on the channel named cname.
- start_value [x] - Where x is either an event code number or event code name (if cname is an event channel), or x specifies the ordinal number of a point value (if cname is a point channel, e.g. spikes or synchronization pulses).
Variable Durationvardur - variable duration analysis (not available for all analysis types; currently available for PSTH and SR). This allows the duration of the analysis window, which typically would be fixed and set by period, to be set independently for each trial. Options are as follows:
- vardur events [chan] [event1] [event2] [time_offset]
where [chan] is an event channel name, and [event1] and [event2] are numeric or character codes for the event, and the offset [time_offet] is added to the duration (the offset can be positive or negative).