Skip to main content

source_dop

Function source_dop 

Source
pub fn source_dop(
    sensors: &[Sensor],
    source_position_m: &[f64],
    propagation_speed_m_s: f64,
) -> Result<Dop, SourceLocalizationError>
Expand description

Compute timing DOP for a proposed source location.

The returned position DOP values multiply timing sigma in seconds to produce metres. The local Cartesian axes are used for the horizontal and vertical split.

ยงErrors

Returns SourceLocalizationError::InvalidInput for malformed, non-finite, inconsistent inputs, including a source coincident with a sensor. Returns SourceLocalizationError::Geometry when the shared DOP machinery finds too few sensors or a singular timing design.