triangulate: Calculates the intersection of bearings of the same frequency...

Description Usage Arguments Value Author(s) Examples

View source: R/radiotrackingeu.R

Description

Calculates the intersection of bearings of the same frequency and time interval.

Usage

1
2
3
4
triangulate(receivers, bearings, only_one = FALSE,
  time_error_inter_station = 0.6, angles_allowed = c(30, 150),
  tri_option = "centroid", tm_method = "spline", spar = 0.01,
  progress = FALSE)

Arguments

receivers

Data frame of all receivers with station names and positions.

bearings

Data frame produced by doa().

only_one

Whether a location should be estimated based on signal strength if only one bearing is available in a time slot.

time_error_inter_station

Accepted time discrepancy between station clocks in seconds. Used in timematch_inter()

angles_allowed

Vector of lower and upper limits for angles between bearings.

tri_option

What to do if more than two bearings per time slot are available: "two_strongest" - just consider the two bearings with the strongest signal, "centroid" - calculate a centroid of all intersection points

tm_method

Which method of time matching to use: "tm" - time slots, "spline" - spline smoothing See smooth_to_time_match and time_match_signals.

spar

Smoothing factor for the spline to be used with tm_method="spline".

progress

Whether this call is wrapped in a shiny::withProgress call.

Value

Data frame containing triangulated UTM coordinates.

Author(s)

Dipl.-Phys. Ralf Zeidler, ralf.zeidler@fridata.de

Examples

1
2
3
4
5
logger_data_tm <- time_match_signals(ld_small)
#registerDoParallel(cores=2)
doa <- doa(logger_data_tm,receiver_data)
triangulate(receiver_data,doa)
#stopImplicitCluster()

radiotrackingeu/radiotrackingeu documentation built on May 20, 2019, 12:36 p.m.