Inferfs
Rust library to infer the samplerate of a dataset.
This will automatically skip one row (to account for potential headers), and given a timestamp column, will attempt to infer the samplerate over a given number of samples.
Right now, the timestamp is very roughly guessed based on some common formats that I receive. If a nice datetime guessing library comes out for Rust, I'll update to include, but that stuff is black magic.
Usage
Only a single function is publicly exported, infer_samplerate
:
Example
extern crate infer_fs;