pub struct EdfHeader {Show 13 fields
pub version: String,
pub patient_id: String,
pub recording_id: String,
pub start_date: String,
pub start_time: String,
pub header_bytes: usize,
pub reserved: String,
pub num_records: usize,
pub record_duration: f64,
pub num_signals: usize,
pub signals: Vec<SignalHeader>,
pub sample_rate: f32,
pub is_edfplus: bool,
}Expand description
Parsed EDF/EDF+ file header.
Fields§
§version: StringVersion of data format (usually “0”).
patient_id: StringLocal patient identification.
recording_id: StringLocal recording identification.
start_date: StringStart date as string (dd.mm.yy).
start_time: StringStart time as string (hh.mm.ss).
header_bytes: usizeNumber of bytes in the header.
reserved: StringReserved field (contains “EDF+C” or “EDF+D” for EDF+).
num_records: usizeNumber of data records in the file.
record_duration: f64Duration of each data record in seconds.
num_signals: usizeNumber of signals (channels) in the file.
signals: Vec<SignalHeader>Per-signal information.
sample_rate: f32Maximum sampling rate across all signals (the effective sfreq).
is_edfplus: boolWhether this is an EDF+ file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdfHeader
impl RefUnwindSafe for EdfHeader
impl Send for EdfHeader
impl Sync for EdfHeader
impl Unpin for EdfHeader
impl UnsafeUnpin for EdfHeader
impl UnwindSafe for EdfHeader
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
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