Sidereon.GeometryQuality (Sidereon v0.14.0)

Copy Markdown View Source

Geometry observability and covariance-validation diagnostics.

The tier field classifies the solve design as:

  • :rank_deficient - at least one parameter is not observable.
  • :zero_redundancy - full rank, but no residual degrees of freedom.
  • :weak - full rank with residual degrees of freedom, but above a condition-number or GDOP cutoff.
  • :nominal - full rank and within the configured cutoffs.

:zero_redundancy bounds are not validated unless covariance_validated is true. :weak bounds are reported without clamping.

Summary

Types

Observability tier returned by the core geometry classifier.

t()

Geometry observability and covariance-validation diagnostics.

Functions

Decode the NIF tuple representation into a geometry diagnostics struct.

Encode a geometry diagnostics struct into the tuple representation used by the NIF.

Types

observability_tier()

@type observability_tier() :: :rank_deficient | :zero_redundancy | :weak | :nominal

Observability tier returned by the core geometry classifier.

t()

@type t() :: %Sidereon.GeometryQuality{
  condition_number: float(),
  covariance_validated: boolean(),
  gdop: float(),
  raim_checkable: boolean(),
  rank: non_neg_integer(),
  redundancy: integer(),
  tier: observability_tier()
}

Geometry observability and covariance-validation diagnostics.

Functions

from_nif(arg)

@spec from_nif(
  {atom(), integer(), non_neg_integer(), float(), float(), boolean(), boolean()}
) :: t()

Decode the NIF tuple representation into a geometry diagnostics struct.

to_nif(quality)

@spec to_nif(t()) ::
  {atom(), integer(), non_neg_integer(), float(), float(), boolean(), boolean()}

Encode a geometry diagnostics struct into the tuple representation used by the NIF.