eelbrain.event_impulse_predictor

eelbrain.event_impulse_predictor(shape, time='time', value=1, latency=0, name=None, ds=None)

Time series with multiple impulses

Parameters
  • shape (NDVar | UTS) – Shape of the output. Can be specified as the NDVar with the data to predict, or an (n_cases, time_dimension) tuple.

  • time (sequence of scalar) – Time points at which impulses occur.

  • value (scalar | sequence) – Magnitude of each impulse (default 1).

  • latency (scalar | sequence) – Latency of each impulse relative to time (default 0).

  • name (str) – Name for the output NDVar.

  • ds (Dataset) – If specified, input items (time, value and latency) can be strings to be evaluated in ds.

See also

event_impulse_predictor

for epoched data (with Case dimension)