pub struct PreprocessedEpoch {
pub eeg_tokens: Vec<f32>,
pub tok_idx: Vec<i32>,
pub chan_pos: Vec<f32>,
pub s: usize,
pub tf: usize,
pub n_channels: usize,
pub tc: usize,
}Expand description
Preprocessed epoch data in plain Vecs (no burn tensors). Safe to produce on any thread and convert to tensors later.
Fields§
§eeg_tokens: Vec<f32>EEG token data, row-major [S, tf] float32.
tok_idx: Vec<i32>Token indices, row-major [S, 4] int32.
chan_pos: Vec<f32>Channel positions in metres, row-major [C, 3] float32.
s: usizeNumber of tokens S = n_channels × tc.
tf: usizeFine time points per token.
n_channels: usizeNumber of EEG channels.
tc: usizeCoarse time steps per epoch.
Auto Trait Implementations§
impl Freeze for PreprocessedEpoch
impl RefUnwindSafe for PreprocessedEpoch
impl Send for PreprocessedEpoch
impl Sync for PreprocessedEpoch
impl Unpin for PreprocessedEpoch
impl UnsafeUnpin for PreprocessedEpoch
impl UnwindSafe for PreprocessedEpoch
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