Initial commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
//! Yokogawa/KIT/Ricoh MEG File Format Reader
|
||||
//!
|
||||
//! Reads data from Yokogawa/KIT MEG systems (now Ricoh).
|
||||
//!
|
||||
//! ## File Types
|
||||
//!
|
||||
//! - `.con` - Continuous data file (single file per recording)
|
||||
//! - `.sqd` - Segmented/epoched data file
|
||||
//! - `.mrk` - Marker/event file (optional)
|
||||
//!
|
||||
//! ## Data Format
|
||||
//!
|
||||
//! KIT files are little-endian with a fixed header structure followed by
|
||||
//! channel data. The format supports multiple acquisition systems:
|
||||
//! - KIT-157 (157 channels)
|
||||
//! - KIT-208 (208 channels)
|
||||
//! - KIT-64 (64 channels)
|
||||
//! - Ricoh MEG systems
|
||||
//!
|
||||
//! ## Example
|
||||
//!
|
||||
//! ```rust,ignore
|
||||
//! use rtx_neuro_io::kit::KitReader;
|
||||
//!
|
||||
//! let reader = KitReader::open("recording.con")?;
|
||||
//! println!("Channels: {}", reader.n_channels());
|
||||
//! println!("Sample rate: {} Hz", reader.sfreq());
|
||||
//!
|
||||
//! let data = reader.read_data(0.0, 10.0)?; // Read 10 seconds
|
||||
//! ```
|
||||
|
||||
mod constants;
|
||||
mod header;
|
||||
mod reader;
|
||||
|
||||
pub use constants::*;
|
||||
pub use header::{KitChannel, KitChannelKind, KitHeader, KitSystemInfo};
|
||||
pub use reader::KitReader;
|
||||
Reference in New Issue
Block a user