pub enum AcVerdict {
Clean,
LevelOnly,
ShapeError,
HarmonicError,
ResponseError,
NoData,
}Expand description
The AC-fidelity verdict for one circuit — which dimension carries the error.
Variants§
Clean
Level, shape, harmonics AND response all within thresholds.
LevelOnly
ONLY the level tone is off; shape + THD + response are all clean ⇒ the AC error is a FLAT SCALAR (a pure-gain bug), the waveform shape matches.
ShapeError
The gain-normalized shape residual exceeds threshold ⇒ the waveform shape itself differs (beyond a scalar level).
HarmonicError
THD or a per-harmonic level differs ⇒ the nonlinearity/harmonic content differs (beyond a scalar level).
ResponseError
The per-frequency gain is not flat ⇒ a frequency-shaped RESPONSE error.
NoData
No usable golden tone (silence) — nothing to grade.
Implementations§
Trait Implementations§
impl Copy for AcVerdict
Source§impl<'de> Deserialize<'de> for AcVerdict
impl<'de> Deserialize<'de> for AcVerdict
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 AcVerdict
impl StructuralPartialEq for AcVerdict
Auto Trait Implementations§
impl Freeze for AcVerdict
impl RefUnwindSafe for AcVerdict
impl Send for AcVerdict
impl Sync for AcVerdict
impl Unpin for AcVerdict
impl UnsafeUnpin for AcVerdict
impl UnwindSafe for AcVerdict
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more