pub struct NoxAlgorithmTuningParameters {
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 NOx gas-index algorithm.
See Sensirion’s NOx 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 1).
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 (unused for NOx).
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 NoxAlgorithmTuningParameters
impl Clone for NoxAlgorithmTuningParameters
Source§fn clone(&self) -> NoxAlgorithmTuningParameters
fn clone(&self) -> NoxAlgorithmTuningParameters
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 NoxAlgorithmTuningParameters
impl Debug for NoxAlgorithmTuningParameters
Source§impl<'de> Deserialize<'de> for NoxAlgorithmTuningParameters
impl<'de> Deserialize<'de> for NoxAlgorithmTuningParameters
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 NoxAlgorithmTuningParameters
Source§impl PartialEq for NoxAlgorithmTuningParameters
impl PartialEq for NoxAlgorithmTuningParameters
Source§fn eq(&self, other: &NoxAlgorithmTuningParameters) -> bool
fn eq(&self, other: &NoxAlgorithmTuningParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NoxAlgorithmTuningParameters
Auto Trait Implementations§
impl Freeze for NoxAlgorithmTuningParameters
impl RefUnwindSafe for NoxAlgorithmTuningParameters
impl Send for NoxAlgorithmTuningParameters
impl Sync for NoxAlgorithmTuningParameters
impl Unpin for NoxAlgorithmTuningParameters
impl UnsafeUnpin for NoxAlgorithmTuningParameters
impl UnwindSafe for NoxAlgorithmTuningParameters
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