pub struct Channel {
pub name: String,
pub channel_type: ChannelType,
pub units: String,
pub description: Option<String>,
pub sampling_frequency: Option<f64>,
pub low_cutoff: Option<f64>,
pub high_cutoff: Option<f64>,
pub notch: Option<f64>,
pub reference: Option<String>,
pub status: Option<String>,
pub status_description: Option<String>,
}Expand description
A single EEG channel definition from _channels.tsv.
Fields§
§name: StringChannel name (required).
channel_type: ChannelTypeChannel type (required): EEG, EOG, ECG, EMG, MISC, TRIG, etc.
units: StringUnits of the channel data (required): e.g., “µV”, “microV”, “mV”.
description: Option<String>Description of the channel.
sampling_frequency: Option<f64>Sampling frequency in Hz (if different from the main recording).
low_cutoff: Option<f64>Low cutoff frequency of the hardware filter in Hz.
high_cutoff: Option<f64>High cutoff frequency of the hardware filter in Hz.
notch: Option<f64>Notch filter frequency in Hz.
reference: Option<String>Reference for this channel.
status: Option<String>Status: “good” or “bad”.
status_description: Option<String>Description of why the channel is bad.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Channel
impl<'de> Deserialize<'de> for Channel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl Send for Channel
impl Sync for Channel
impl Unpin for Channel
impl UnsafeUnpin for Channel
impl UnwindSafe for Channel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more