Skip to main content

loop_margins

Function loop_margins 

Source
pub fn loop_margins(points: &[LoopPoint]) -> LoopMargins
Expand description

Margins from an open-loop response, between neighbouring points interpolated linearly in log |L| and in the unwrapped phase. Points too far apart (more than 180 degrees of phase between them) can miss a sharp resonance. A point without a measurement (NaN) makes the margins not valid (and NaN).