pub struct VocAlgorithmTuningParameters {
pub index_offset: i16,
pub learning_time_offset_hours: i16,
pub learning_time_gain_hours: i16,
pub gating_max_duration_minutes: i16,
pub std_initial: i16,
pub gain_factor: i16,
}Expand description
Tuning parameters for the VOC gas-index algorithm.
See Sensirion’s VOC Index for Indoor Air Applications for the meaning and valid ranges of each parameter.
Fields§
§index_offset: i16Index value the algorithm maps the average condition to (default 100).
learning_time_offset_hours: i16Time constant (hours) for the offset’s adaptive learning.
learning_time_gain_hours: i16Time constant (hours) for the gain’s adaptive learning.
gating_max_duration_minutes: i16Maximum duration (minutes) that gating may stall learning.
std_initial: i16Initial standard deviation used to estimate the gain.
gain_factor: i16Gain factor applied to the normalized signal.
Trait Implementations§
Source§impl Clone for VocAlgorithmTuningParameters
impl Clone for VocAlgorithmTuningParameters
Source§fn clone(&self) -> VocAlgorithmTuningParameters
fn clone(&self) -> VocAlgorithmTuningParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 VocAlgorithmTuningParameters
impl Debug for VocAlgorithmTuningParameters
Source§impl<'de> Deserialize<'de> for VocAlgorithmTuningParameters
impl<'de> Deserialize<'de> for VocAlgorithmTuningParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for VocAlgorithmTuningParameters
Source§impl PartialEq for VocAlgorithmTuningParameters
impl PartialEq for VocAlgorithmTuningParameters
Source§fn eq(&self, other: &VocAlgorithmTuningParameters) -> bool
fn eq(&self, other: &VocAlgorithmTuningParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VocAlgorithmTuningParameters
Auto Trait Implementations§
impl Freeze for VocAlgorithmTuningParameters
impl RefUnwindSafe for VocAlgorithmTuningParameters
impl Send for VocAlgorithmTuningParameters
impl Sync for VocAlgorithmTuningParameters
impl Unpin for VocAlgorithmTuningParameters
impl UnsafeUnpin for VocAlgorithmTuningParameters
impl UnwindSafe for VocAlgorithmTuningParameters
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