[][src]Function infer_fs::infer_samplerate

pub fn infer_samplerate(
    filename: String,
    delim: char,
    num_rows: usize,
    col: usize
) -> Result<f64, Error>

Infer samplerate from timestamped dataset

Automatically skip the first row to account for potential headers. This is a very simple approach to samplerate inference. Currently, only a handful of datetime formats are checked, so this may be a very brittle approach.