pub struct HeadsetChannelConfig {
pub channels: Vec<ChannelInfo>,
pub sampling_rate_hz: f64,
pub resolution_bits: u32,
}Expand description
EEG channel configuration for a headset model.
Fields§
§channels: Vec<ChannelInfo>Per-channel information (name, electrode position).
sampling_rate_hz: f64Sampling rate in Hz (e.g. 128.0 for Insight, 256.0 for EPOC X).
resolution_bits: u32ADC resolution in bits.
Trait Implementations§
Source§impl Clone for HeadsetChannelConfig
impl Clone for HeadsetChannelConfig
Source§fn clone(&self) -> HeadsetChannelConfig
fn clone(&self) -> HeadsetChannelConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HeadsetChannelConfig
impl Debug for HeadsetChannelConfig
Source§impl<'de> Deserialize<'de> for HeadsetChannelConfig
impl<'de> Deserialize<'de> for HeadsetChannelConfig
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 HeadsetChannelConfig
impl RefUnwindSafe for HeadsetChannelConfig
impl Send for HeadsetChannelConfig
impl Sync for HeadsetChannelConfig
impl Unpin for HeadsetChannelConfig
impl UnsafeUnpin for HeadsetChannelConfig
impl UnwindSafe for HeadsetChannelConfig
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