center_scan: Center the data from scan misalignment

View source: R/centering_functions.R

center_scanR Documentation

Center the data from scan misalignment

Description

The record often slightly moves while being fed into the scanner, which often results in unavoidable misalignment throughout the record. To ensure that any drift is from the TDR and not from scanning, centering the record is recommended as future recovery calculations assume that depth = 0 is the same as y = 0.

Usage

center_scan(trace, time_dots, center_along_y = 1.1)

Arguments

trace

data frame containing the xy positions of the dive trace

time_dots

data frame contains the xy positions of the timing dots

center_along_y

the horizontal line to center the timing dots along

Value

Centered trace data frame

Examples

## Not run: 
# If you'd like to center the timing dots below the record
# along y = -0.9
center_scan(trace, time_dots, center_along_y = 0.9)

## End(Not run)

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