remove_stopped: Remove points were ROV is stopped

remove_stoppedR Documentation

Remove points were ROV is stopped

Description

Detect cloud of points and remove them from the track.

Usage

remove_stopped(
  x,
  n = 61,
  p = 1e-04,
  d = 6,
  t = 30,
  include_mean = FALSE,
  select = NULL
)

Arguments

x

'track' object.

n

window size to calculate proximity between points.

p

threshold to detect were ROV is stopped. Lower values, more likely to detect stops.

d

distance buffer around detected points, same units original data. All points within this buffer are removed.

t

'time' buffer around detected points, in seconds. All points that within this period are removed.

include_mean

bool. Just remove the points detected as stopped (default), or calculate the mean and add in the track.

select

character. The filter is applied only in these dives.

Details

This filter will calculate the inverse distance from n adjacent points. Than, it use p to detect cloud of points, with are indicative of places were the ROV is stopped and there is too much noise in the track. Setting p will require some trial-and-error. Than, it creates a buffer (both in distance and time) for each cloud of points that was detected, and all points within this buffer are removed.


correapvf/trackROV documentation built on Nov. 19, 2024, 9:04 p.m.