R/run-preprocess.R

Defines functions run.preprocess

Documented in run.preprocess

#' Preprocess OTM33A data set prior to Gaussian fits
#' @param
#' dat:  Data table, with names obtained from GMAP data output as of 2018-Aug
#'
#' @return
#'
#' @export
#' @examples
#' dat <- run.preprocess(dat)

run.preprocess <- function(dat) {
  dat <- subtract.background(dat)
  dat <- align.time(dat,3)
  dat <- rotateWindDirection(dat)
  return(dat)
}
bvenner/OTM33A documentation built on Dec. 21, 2024, 2:11 a.m.