pynapple.core.interval_set.IntervalSet.tot_length#

IntervalSet.tot_length(time_units='s')[source]#

Total elapsed time in the set.

Parameters:

time_units (None, optional) – The time units to return the result in (‘us’, ‘ms’, ‘s’ [default])

Returns:

out – _

Return type:

float