pub struct OpPointResult {
pub circuit: String,
pub devices: Vec<DeviceMatch>,
pub max_abs_d_vbe: f64,
pub max_abs_d_vce: f64,
pub max_abs_d_ic_pct: f64,
pub max_abs_residual: f64,
pub max_abs_residual_full: f64,
pub n_residual_ports: usize,
pub verdict: Verdict,
}Expand description
Full bias-accuracy result for one circuit.
Fields§
§circuit: String§devices: Vec<DeviceMatch>§max_abs_d_vbe: f64Worst per-device readings (rolled up).
max_abs_d_vce: f64§max_abs_d_ic_pct: f64§max_abs_residual: f64Worst static residual across ports (volts) — the formulation probe.
max_abs_residual_full: f64Worst full residual across ports (volts) — should be ≈ 0 (calibration).
n_residual_ports: usize§verdict: VerdictImplementations§
Source§impl OpPointResult
impl OpPointResult
Sourcepub fn match_ok(&self, c: &OpPassCriteria) -> bool
pub fn match_ok(&self, c: &OpPassCriteria) -> bool
True when MATCH is within all fail thresholds.
Sourcepub fn formulation_ok(&self, c: &OpPassCriteria) -> bool
pub fn formulation_ok(&self, c: &OpPassCriteria) -> bool
True when the static residual is small enough to call the formulation approximately correct.
Trait Implementations§
Source§impl Clone for OpPointResult
impl Clone for OpPointResult
Source§fn clone(&self) -> OpPointResult
fn clone(&self) -> OpPointResult
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 OpPointResult
impl Debug for OpPointResult
Source§impl<'de> Deserialize<'de> for OpPointResult
impl<'de> Deserialize<'de> for OpPointResult
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
Auto Trait Implementations§
impl Freeze for OpPointResult
impl RefUnwindSafe for OpPointResult
impl Send for OpPointResult
impl Sync for OpPointResult
impl Unpin for OpPointResult
impl UnsafeUnpin for OpPointResult
impl UnwindSafe for OpPointResult
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