pymovements.events.duration#

pymovements.events.duration() Expr#

Duration of an event.

The duration is defined as the difference between offset time and onset time.

Returns:

The duration of the event.

Return type:

pl.Expr