psiaudio.pipeline module

class PipelineData(arr, fs, s0=0, channel=None, metadata=None)

Bases: ndarray

mean(axis=None, dtype=None, out=None, keepdims=False, *, where=True)

Returns the average of the array elements along given axis.

Refer to numpy.mean for full documentation.

See also

numpy.mean

equivalent function

property n_channels
property n_time
accumulate(*args, **kwargs)
average(*args, **kwargs)
blocked(*args, **kwargs)
broadcast(*args, **kwargs)
capture(*args, **kwargs)
capture_epoch(*args, **kwargs)
concat(arrays, axis=- 1)
coroutine(func)

Decorator to auto-start a coroutine.

decimate(*args, **kwargs)
delay(*args, **kwargs)
detrend(*args, **kwargs)
dim_axis(axis)
discard(*args, **kwargs)
downsample(*args, **kwargs)
edges(*args, **kwargs)
ensure_dim(arrays, dim)
events_to_info(*args, **kwargs)
extract_epochs(*args, **kwargs)
iirfilter(*args, **kwargs)
mc_reference(*args, **kwargs)
mc_select(*args, **kwargs)
normalize_index(index, ndim)

Expands an index into the same dimensionality as the array

Parameters
  • index ({Ellipsis, None, slice, tuple}) – Index to normalize

  • ndim (int) – The dimension of the object that is being indexed

Returns

norm_index – The expanded index.

Return type

tuple

reject_epochs(*args, **kwargs)
rms(*args, **kwargs)
transform(*args, **kwargs)