Skip to content

Commit 4328e9b

Browse files
committed
docs for periodic sampler --by option
1 parent 6234e3e commit 4328e9b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/source/samplers.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,17 @@ All samplers have a few parameters in common:
3535
Periodic sampler
3636
~~~~~~~~~~~~~~~~
3737

38-
Draw segments from the recordings, periodically
38+
Draw segments from the recordings periodically.
39+
40+
The ``--period`` argument is between the end of the previous segment until the start of the next. For example
41+
length:60000(1min) period:3540000(59min) will sample the first minute of every hour whereas length:60000(1min)
42+
period:3600000(1h) will sample the 1st min of the 1st hour, the 2nd min o the 2nd hour and so on.
43+
44+
The ``--by`` argument will group recordings to form a single timeline in which the periodicity defines the parts
45+
to annotate, then those parts are extracted from the recordings of the group. this means that recordings following
46+
each other will maintain continuity in sampling period if in the same session and sampling by session_id. It also means
47+
concurrent recordings in the same session will have the same samples kept time/date wise regardless of shifts in start.
48+
The default is to sample by 'recording_filename' which will simply periodicly sample each recording independently.
3949

4050
.. clidoc::
4151

0 commit comments

Comments
 (0)