View source: R/get_isFalseTrack.R
get_isFalseTrack | R Documentation |
Sensor systems frequently return tracks on things that are not actual targets (waves, reflections, dolphins, etc.), and therefore we do not have truth data to evaluate the system accuracy. We flag these as flase tracks (isFalseTrack = TRUE) to not penalize the system accuracy, however the data is still kep and returned to the user. get_isFalseTrack() is called by the target_assignment() subfunctions to perform this task. Each subfunction calculates the mean location, bearing, downrage, and altitude errors. These are passed into the function inside targetAssign.
The user can input a cutoff as a numeric vector with length 1, 2, or 3, each of which implies different cutoff criteria:
- With a single number cutoff (vector length 1), a point is determined to be a false track if the mean location error (calculated based on method assignment method, in meters) is outside the cutoff.
- If two numbers are supplied (numeric vector length 2), the first number corresponds to a 2D surface error (in meters) calculated from the location error and altitude error (surface error = sqrt(locationError^2 - altError^2)). The second number is the absolute value of the altitude error (in meters).
- If three numbers are supplied the first number corresponds to the downrange error (in meters), the second number to the bearing error (in degrees), and the third number to the altitude error (in meters).
This function is called by the target_assignment() subfunctions and is not inded for use as a stand-alone function.
get_isFalseTrack(targetAssign, cutoff)
targetAssign |
a data frame containing the mean location, bearing, altitude, and downrange errors for each point |
cutoff |
numeric vector of length 1, 2, or 3 specifying the conditions under which a point is determined to be a false track. The different lengths imply different cutoff conditions:
|
get_isFalseTrack() returns the input (targetAssign) with the additional column isFalseTrack with boolean value that indicates whether a point is a false track.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.