LAAC-LSCP / ChildProject

Python package for the management of day-long recordings of children.
https://childproject.readthedocs.io
MIT License
13 stars 5 forks source link

excluding segments after sampling #236

Closed lucasgautheron closed 3 years ago

lucasgautheron commented 3 years ago

This PR introduces a --exclude parameter for all samplers. This parameter accepts a dataframe with 3 columns:

  1. recording_filename
  2. segment_onset
  3. segment_offset

If this dataframe is defined, these segments will be automatically removed from sampled segments after sampling.