This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Created on Sun Oct 20 2024 | |
@author: J.-B. Kordaß | |
Gist to estimate .edf block size to avoid non-zero padded data files (at the expense of precision/skewing and | |
possibly truncation) | |
- If you are using skjerns/save_edf.py (https://gist.github.com/skjerns/bc660ef59dca0dbd53f00ed38c42f6be), | |
truncate the data to the sample size n returned and use f.setDatarecordDuration(R) for R as returned. | |
""" |