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 (NDVar | str | UTS) – Shape of the output. Can be specified as the
NDVarwith the data to predict, or an(n_cases, time_dimension)tuple.time (str | Sequence[float]) – Time points at which impulses occur.
value (float | Sequence[float] | str) – Magnitude of each impulse (default 1).
latency (float | Sequence[float] | str) – Latency of each impulse relative to
time(default 0).data (Dataset) – If specified, input items (
time,valueandlatency) can be strings to be evaluated indata.
- Return type:
See also
epoch_impulse_predictorfor epoched data (with
Casedimension and a single impulse per epoch)