Skip to main content

locate_source_with

Function locate_source_with 

Source
pub fn locate_source_with(
    sensors: &[Sensor],
    arrival_times_s: &[f64],
    propagation_speed_m_s: f64,
    config: &SourceLocateConfig,
) -> Result<SourceSolution, SourceLocalizationError>
Expand description

Locate a source from sensor arrival times with a full SourceLocateConfig.

This is locate_source plus the settings that live on the config, such as SourceLocateConfig::include_influence. With a default config the two entry points are equivalent.

ยงErrors

The same SourceLocalizationError variants as locate_source.