R/read_stored_masscal.R

Defines functions read_stored_masscal

Documented in read_stored_masscal

#' reads the mass calibration from a file
#' @import rhdf5
#' @param file location of h5 file
#' @return list of conversion functions and parameters
#' @export
read_stored_masscal <- function(file){
  fid1 <- H5Fopen(file)
  mcfun <- stored_mass_cal.tof_h5(fid1)
  H5Fclose(fid1)
  return(mcfun)
}
bdcaf/rawTof documentation built on July 17, 2019, 1:09 p.m.