remove_arc: Remove left leaning arc in KBTDR records

View source: R/dive_tidy_functions.R

remove_arcR Documentation

Remove left leaning arc in KBTDR records

Description

This function removes the characteristic left-leaning arc in the record by using the equation of the circle the KBTDR arm makes.

Usage

remove_arc(trace, center_y)

Arguments

trace

tidy trace data frame after centering, contains the x and y values of the trace.

center_y

height of transducer arm pivot point. This value is usually close to 11 cm, but there is slight variation (<1 mm) at the scale of the KBTDR. Two functions (find_center_y_psi, find_center_y_nopsi) can be used to estimate this value.

Value

trace data frame after arc removal.

Examples

## Not run: 
# if the height of the transducer arm pivot point is 11.1 cm above depth = 0:
remove_arc(trace, time_dots, center_y = 11.1)

## End(Not run)


EmmaLiTsai/recoverKBTDR documentation built on Aug. 29, 2024, 10:38 a.m.