pub struct Imd3Point {
pub input_per_tone_dbm: f64,
pub output_per_tone_dbm: f64,
pub im3_output_dbm: f64,
pub rejection_db: f64,
}Expand description
A single point from a two-tone IMD3 sweep.
§Examples
use gainlineup::Block;
let amp = Block {
name: "Amp".to_string(),
gain_db: 20.0,
noise_figure_db: 3.0,
output_p1db_dbm: None,
output_ip3_dbm: Some(30.0),
};
let sweep = amp.imd3_sweep(-30.0, -30.0, 1.0);
let point = &sweep[0];
assert!((point.input_per_tone_dbm - (-30.0)).abs() < 0.01);
assert!((point.rejection_db - 80.0).abs() < 0.01);Fields§
§input_per_tone_dbm: f64Input power per tone (dBm)
output_per_tone_dbm: f64Output power per tone (dBm)
im3_output_dbm: f64Third-order IMD product output power (dBm)
rejection_db: f64Rejection: carrier minus IM3 (dB). Higher is better.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Imd3Point
impl RefUnwindSafe for Imd3Point
impl Send for Imd3Point
impl Sync for Imd3Point
impl Unpin for Imd3Point
impl UnsafeUnpin for Imd3Point
impl UnwindSafe for Imd3Point
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