pub struct EnvelopeFit { /* private fields */ }Expand description
Lower-envelope fit of offset(host) = source - host for pairs stamped on
arrival, over the pairs of the last window.
Implementations§
Source§impl EnvelopeFit
impl EnvelopeFit
Sourcepub fn sixty_seconds() -> Self
pub fn sixty_seconds() -> Self
The default 60 s window.
Sourcepub fn push(&mut self, host_ns: u64, source_ns: i64)
pub fn push(&mut self, host_ns: u64, source_ns: i64)
Add one pair: the source read source_ns no later than host host_ns.
Sourcepub fn offset_i64(&self, host_ns: u64) -> Option<i64>
pub fn offset_i64(&self, host_ns: u64) -> Option<i64>
Offset source - host at host time host_ns, rounded to whole ns.
Sourcepub fn sigma_ns(&self) -> i64
pub fn sigma_ns(&self) -> i64
One-sigma envelope residual, ns; -1 until ENVELOPE_SIGMA_BINS
bins completed.
Trait Implementations§
Source§impl Clone for EnvelopeFit
impl Clone for EnvelopeFit
Auto Trait Implementations§
impl Freeze for EnvelopeFit
impl RefUnwindSafe for EnvelopeFit
impl Send for EnvelopeFit
impl Sync for EnvelopeFit
impl Unpin for EnvelopeFit
impl UnsafeUnpin for EnvelopeFit
impl UnwindSafe for EnvelopeFit
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