melizalab / jill

realtime electrophysiology, behavioral, and acoustic recording system
http://melizalab.github.io/jill
3 stars 5 forks source link

add option to jrecord to split long recordings after some user-specified interval #16

Closed dmeliza closed 2 years ago

dmeliza commented 6 years ago

This would mostly be for the convenience of downstream applications like aplot that try to load the entire dataset into memory. As far as the HDF5 file is concerned, datasets have 64-bit indices so the upper limit on size is quite large.

dmeliza commented 6 years ago

Entries are currently split whenever the jack frame counter overflows, which is every 2**32 frames, or 27 hours (at 44.1 kHz). I am not sure if there is any way to avoid doing this. However, it should be possible to have arf_writer split the entry whenever the sample count exceeds some user-specified amount.

dmeliza commented 2 years ago

Addressed by jtime module (added in ca3e03624b7c02b41868b9891ecbc65be5f6481b)