pub struct FrequencyMA {
pub frequency: f64,
pub s_ma: MagnitudeAngle,
}Expand description
S-parameter data at a single frequency in Magnitude/Angle format.
§Examples
use touchstone::Network;
let net = Network::new("files/ntwk1.s2p".to_string());
let s11_ma = net.s_ma(1, 1);
let point = &s11_ma[0];
println!("f = {} Hz, S11 = {} ∠ {}°", point.frequency, point.s_ma.0, point.s_ma.1);Fields§
§frequency: f64Frequency in Hz.
s_ma: MagnitudeAngleS-parameter value as a magnitude/angle pair.
Trait Implementations§
Source§impl Clone for FrequencyMA
impl Clone for FrequencyMA
Source§fn clone(&self) -> FrequencyMA
fn clone(&self) -> FrequencyMA
Returns a duplicate of the value. Read more
1.0.0 · 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 FrequencyMA
impl RefUnwindSafe for FrequencyMA
impl Send for FrequencyMA
impl Sync for FrequencyMA
impl Unpin for FrequencyMA
impl UnsafeUnpin for FrequencyMA
impl UnwindSafe for FrequencyMA
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