Time SlicingΒΆ

It is also possible to slice RRi series with time range information (in seconds).

In the following example, we are taking a slice that starts at 100s ` and ends at `200s.

from hrv.io import read_from_text

rri = read_from_text('path/to/file.txt')
rri_range = rri.time_range(start=100, end=200)

fig, ax = rri_range.plot(marker='.')

Time offset can be reset from the RRi series range: