eelbrain.NDVar.envelope¶
-
NDVar.
envelope
(dim='time', name=None)¶ Compute the Hilbert envelope of a signal
- Parameters
- Returns
envelope – NDVar with identical dimensions containing the envelope.
- Return type
Notes
The Hilbert envelope is computed with
scipy.signal.hilbert()
:>>> numpy.abs(scipy.signal.hilbert(x))
This function can be very slow when the number of time samples is uneven.