Window statement
Window
[Begin=begin_time]
[End=end_time]
[Range=trial_range]
Type
conventions and statement
syntax are explained in the Glossary.
By default, trial and case variables as well as data surfaces describe
entire trials. You may, however, use this statement to set a time window
before computing a data surface or before creating the data array(s)
on which you want to base trial or case variables. This allows you,
for example, to create variables that describe only the first ten seconds
of each trial.
Parameters...
Begin
Number
parameter indicating the begin of the time window. If Begin <
End, Begin is interpreted as offset from the beginning of the trial.
If Begin > End, Begin is interpreted as offset from the end of the
trial. If no value is specified for this parameter, Wintrack will use
the time window setting of the Analyze
Case command to supplement a default value each time the custom
variable definition file is processed.
End
Number
parameter indicating the end of the time window. If Begin < End,
End is interpreted as offset from the beginning of the trial. If Begin
> End, End is interpreted as offset from the end of the trial. If
no value is specified for this parameter, Wintrack will use the time
window setting of the Analyze Case command
to supplement a default value each time the custom variable definition
file is processed.
Range
Range
parameter indicating the range of trials that should be affected
by the new window setting. If no trial range is specified, the window
setting is applied to all trials.
Note that...
If the time window extends past the beginning or end of a trial, it
is shrunken to fit. If both the beginning and end of the window lie
either beyond the beginning or beyond the end of a trial, the variable
will be assigned a missing value code for that trial. You can place
Window statements anywhere in a custom variable definition file. Once
you have set a time window, it will affect all subsequent Surface and
Collapse statements and thus all data surfaces
and data arrays created thereafter. You must execute another Window
statement if you want new data surfaces or trial and case variables
to refer to a different time window or again to entire trials.
Additional information...
|