pub struct SpiceTriodeModel {
pub name: String,
pub mu: f64,
pub ex: f64,
pub kg1: f64,
pub kp: f64,
pub kvb: f64,
pub rp: f64,
}Expand description
A parsed triode tube model with Koren equation parameters.
Format: .TRIODE <name> MU= EX= KG1= KP= KVB= RP=
Fields§
§name: String§mu: f64Amplification factor
ex: f64Exponent (transfer curve shape)
kg1: f64Plate current scaling factor (A)
kp: f64Plate resistance factor
kvb: f64Knee voltage constant (V)
rp: f64Plate resistance at typical operating point (Ω). Datasheet rp. 12AX7 ≈ 62.5kΩ, 12AU7 ≈ 7.7kΩ, 12AT7 ≈ 10.9kΩ.
Trait Implementations§
Source§impl Clone for SpiceTriodeModel
impl Clone for SpiceTriodeModel
Source§fn clone(&self) -> SpiceTriodeModel
fn clone(&self) -> SpiceTriodeModel
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 moreAuto Trait Implementations§
impl Freeze for SpiceTriodeModel
impl RefUnwindSafe for SpiceTriodeModel
impl Send for SpiceTriodeModel
impl Sync for SpiceTriodeModel
impl Unpin for SpiceTriodeModel
impl UnsafeUnpin for SpiceTriodeModel
impl UnwindSafe for SpiceTriodeModel
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