Struct nyx_space::od::snc::SNC[][src]

pub struct SNC<A: DimName> where
    DefaultAllocator: Allocator<f64, A> + Allocator<f64, A, A>, 
{ pub start_time: Option<Epoch>, pub frame: Option<Frame>, pub disable_time: Duration, pub init_epoch: Option<Epoch>, pub prev_epoch: Option<Epoch>, // some fields omitted }

Fields

start_time: Option<Epoch>

Time at which this SNC starts to become applicable

frame: Option<Frame>

Specify the frame of this SNC – CURRENTLY UNIMPLEMENTED

disable_time: Duration

Enables state noise compensation (process noise) only be applied if the time between measurements is less than the disable_time amount in seconds

init_epoch: Option<Epoch>prev_epoch: Option<Epoch>

Implementations

impl<A: DimName> SNC<A> where
    DefaultAllocator: Allocator<f64, A> + Allocator<f64, A, A>, 
[src]

pub fn from_diagonal(disable_time: Duration, values: &[f64]) -> Self[src]

Initialize a state noise compensation structure from the diagonal values

pub fn with_start_time(
    disable_time: Duration,
    values: &[f64],
    start_time: Epoch
) -> Self
[src]

Initialize an SNC with a time at which it should start

pub fn with_decay(
    disable_time: Duration,
    initial_snc: &[f64],
    decay_constants_s: &[f64]
) -> Self
[src]

Initialize an exponentially decaying SNC with initial SNC and decay constants. Decay constants in seconds since start of the tracking pass.

pub fn to_matrix(&self, epoch: Epoch) -> Option<MatrixMN<f64, A, A>>[src]

Returns the SNC matrix (not incl. Gamma matrix approximation) at the provided Epoch. May be None if:

  1. Start time of this matrix is after epoch
  2. Time between epoch and previous epoch (set in the Kalman filter!) is longer than disabling time

Trait Implementations

impl<A: Clone + DimName> Clone for SNC<A> where
    DefaultAllocator: Allocator<f64, A> + Allocator<f64, A, A>, 
[src]

impl<A> Debug for SNC<A> where
    A: DimName,
    DefaultAllocator: Allocator<f64, A> + Allocator<f64, A, A>, 
[src]

impl<A> Display for SNC<A> where
    A: DimName,
    DefaultAllocator: Allocator<f64, A> + Allocator<f64, A, A>, 
[src]

Auto Trait Implementations

impl<A> !RefUnwindSafe for SNC<A>

impl<A> !Send for SNC<A>

impl<A> !Sync for SNC<A>

impl<A> !Unpin for SNC<A>

impl<A> !UnwindSafe for SNC<A>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,