BergelsonLab / BergelsonLab/blabr

teach prepare_intervals to output aclew-like intervals

Open
#25 0 comments 0 reactions 1 assignee Claimed by @kalenkovich View on GitHub
enhancement
Dominant language
R
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Right now, the way the function works emulates the way LENA creates intervals for lena5min.csv's. First and last intervals start and end outside of the recordings: 15:42:15:52 -> (15:40-15:45, 15:45-15:50, 15:50-15:55). They get trimmed afterward but they are still there while for ACLEW we don't want those short intervals at all. Keeping those intervals should be an option. Also, for ACLEW we'll need to introduce buffers to accommodate context regions.

- [ ] add an option to drop start and end intervals if they are shorter than required,
- [ ] add an option to introduce buffers before and after all regions.

See vihi-sampling code where intervals are created for the seedlings corpus.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.