eelbrain.epoch_impulse_predictor¶
-
eelbrain.
epoch_impulse_predictor
(shape, value=1, latency=0, name=None, ds=None)¶ Time series with one impulse for each of
n
epochs- Parameters
shape (NDVar | (int, UTS) | str) – Shape of the output. Can be specified as the
NDVar
with the data to predict, or an(n_cases, time_dimension)
tuple.value (scalar | sequence | str) – Scalar or length
n
sequence of scalars specifying the value of each impulse (default 1).latency (scalar | sequence | str) – Scalar or length
n
sequence of scalars specifying the latency of each impulse (default 0).ds (Dataset) – If specified, input items (
shape
,value
andlatency
) can be strings to be evaluated inds
.
Examples
See Impulse predictors for epochs example.