Skip to main content

dop

Function dop 

Source
pub fn dop(
    los: &[LineOfSight],
    weights: &[f64],
    receiver: Wgs84Geodetic,
) -> Result<Dop, DopError>
Expand description

Compute the DOP scalars from line-of-sight directions, diagonal weights, and the receiver geodetic position.

los and weights must have the same length, which must be at least four; weights are the non-negative diagonal of W. Returns DopError::TooFewSatellites for fewer than four directions and DopError::Singular for a singular or ill-conditioned geometry (see the module docs for the exact predicate).