Struct EEGSettings

Source
pub struct EEGSettings {
Show 13 fields pub total_channels: usize, pub eeg_channels: usize, pub records: usize, pub sampling_rate: f32, pub configured_duration: u32, pub packets_lost: usize, pub line_filter: bool, pub fir_filter: bool, pub eog_correction: bool, pub reference_filter: bool, pub eeg_units: String, pub montage: HashMap<usize, String>, pub accelerometer: Option<AccelerometerData>,
}
Expand description

Struct for EEG settings including sampling rate, filters, and montage.

Fields§

§total_channels: usize§eeg_channels: usize§records: usize§sampling_rate: f32§configured_duration: u32§packets_lost: usize§line_filter: bool§fir_filter: bool§eog_correction: bool§reference_filter: bool§eeg_units: String§montage: HashMap<usize, String>§accelerometer: Option<AccelerometerData>

Trait Implementations§

Source§

impl Debug for EEGSettings

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.