eelbrain.event_impulse_predictor
- eelbrain.event_impulse_predictor(shape, time='time', value=1, latency=0, name=None, data=None)
Time series with multiple impulses
- Parameters
shape (Union[NDVar, str, UTS]) – Shape of the output. Can be specified as the
NDVar
with the data to predict, or an(n_cases, time_dimension)
tuple.time (Union[str, Sequence[float]]) – Time points at which impulses occur.
value (Union[float, Sequence[float], str]) – Magnitude of each impulse (default 1).
latency (Union[float, Sequence[float], str]) – Latency of each impulse relative to
time
(default 0).data (Dataset) – If specified, input items (
time
,value
andlatency
) can be strings to be evaluated indata
.
- Return type
See also
epoch_impulse_predictor
for epoched data (with
Case
dimension and a single impulse per epoch)