Jellevanderwerff / thebeat

thebeat: Rhythms in Python for science
https://thebeat.readthedocs.io
GNU General Public License v3.0
19 stars 1 forks source link

Fix rounding terminology and consistency #68

Open YannickJadoul opened 8 months ago

YannickJadoul commented 8 months ago

When onsets of a sequence do exactly match the samples, a warning is given about rounding the onsets, and:

This should be made consistent, both in code as well as in the warning's text and docs. I'm not sure what the most obvious best one is, flooring or rounding; there's probably some argument to be made for both. My intuition says that flooring might have better mathematical properties, but I might be wrong. I do think ceiling makes the least sense of all three options.