pub struct PreprocInfo {
pub ch_names: Vec<String>,
pub n_channels: usize,
pub n_epochs: usize,
pub src_sfreq: f32,
pub target_sfreq: f32,
pub epoch_dur: f32,
}Expand description
Preprocessing metadata returned alongside batches.
Fields§
§ch_names: Vec<String>Channel names after bipolar montage (e.g. “FP1-F7”, …).
n_channels: usizeNumber of channels after montage.
n_epochs: usizeNumber of epochs produced.
src_sfreq: f32Source sampling rate (Hz).
target_sfreq: f32Target sampling rate (Hz) — always 256.
epoch_dur: f32Epoch duration (seconds) — always 5.0.
Auto Trait Implementations§
impl Freeze for PreprocInfo
impl RefUnwindSafe for PreprocInfo
impl Send for PreprocInfo
impl Sync for PreprocInfo
impl Unpin for PreprocInfo
impl UnsafeUnpin for PreprocInfo
impl UnwindSafe for PreprocInfo
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more