med64 0.0.2

Headless MED64 electrophysiology toolkit: .modat I/O, spike/burst analysis, assays, spike-rate maps, and CSV/HTML/SVG/HDF5 export
Documentation
//! Sample recording paths under [`data_dir()`] (`../data/` from the crate root).

use std::path::{Path, PathBuf};

/// Bundled test/sample data directory (sibling of the `med64/` crate in the repo).
pub fn data_dir() -> PathBuf {
    PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("../data")
}

/// Join a path relative to [`data_dir()`].
pub fn join(relative: impl AsRef<Path>) -> PathBuf {
    data_dir().join(relative)
}

pub fn sample_data1() -> PathBuf {
    join("sample data1.modat")
}

pub fn sample_data6_cap() -> PathBuf {
    join("sample data6/sample data6_3_3 nM CAP.modat")
}

pub fn sample_data6_moflo() -> PathBuf {
    join("sample data6/sample data6.moflo")
}

pub fn synthetic_presto384_modat() -> PathBuf {
    join("synthetic_presto384.modat")
}

pub fn synthetic_presto384_modax() -> PathBuf {
    join("synthetic_presto384.modax")
}