dot-transform_psitodepth: Transform the y-axis from position to depth in meters using...

.transform_psitodepthR Documentation

Transform the y-axis from position to depth in meters using the psi calibration curve

Description

Transform the y-axis from position to depth in meters using the psi calibration curve

Usage

.transform_psitodepth(
  trace,
  psi_calibration,
  max_psi = 900,
  max_position = 22.45
)

Arguments

trace

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

psi_calibration

data frame containing the centered psi calibration curve.

max_psi

maximum psi of the TDR, often not captured in psi calibration curve.

max_position

position of maximum psi reading for TDR in cm.

Value

trace data frame with depth in meters.

Examples

## Not run: 
trace <- .transform_psitodepth(trace, psi_calibration, max_psi = 900, max_position = 22.45)

## End(Not run)

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