pub struct CalmnessOutput {
pub score: f32,
pub smoothed_score: f32,
pub alpha_beta_ratio: f32,
pub theta_level: f32,
pub alpha_power: f32,
pub beta_power: f32,
pub theta_power: f32,
}Expand description
Output from the calmness model
Fields§
§score: f32Calmness score (0.0 = very alert, 1.0 = very calm)
smoothed_score: f32Smoothed calmness score (less jittery)
alpha_beta_ratio: f32Alpha/beta ratio (primary indicator)
theta_level: f32Theta contribution
alpha_power: f32Raw band powers
beta_power: f32§theta_power: f32Trait Implementations§
Source§impl Clone for CalmnessOutput
impl Clone for CalmnessOutput
Source§fn clone(&self) -> CalmnessOutput
fn clone(&self) -> CalmnessOutput
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 CalmnessOutput
impl Debug for CalmnessOutput
Source§impl ModelOutput for CalmnessOutput
impl ModelOutput for CalmnessOutput
Auto Trait Implementations§
impl Freeze for CalmnessOutput
impl RefUnwindSafe for CalmnessOutput
impl Send for CalmnessOutput
impl Sync for CalmnessOutput
impl Unpin for CalmnessOutput
impl UnsafeUnpin for CalmnessOutput
impl UnwindSafe for CalmnessOutput
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