read_in_caps: read in caps

Description Usage Arguments Details Value

View source: R/read_in_caps.R

Description

read in caps

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
read_in_caps(
  digipath,
  pattern,
  capsize,
  landmarks = c("nz", "ar", "al", "cz", "iz"),
  num_source = 16,
  num_detector = 32,
  short = c(3, 11, 19, 27),
  subchar = c(1, 12)
)

Arguments

digipath

path to digitizations as a string

pattern

a pattern in files passed to list.files as a string

capsize

the path to the cap size document as a string

landmarks

the refpoints to be adjusted for cap geometry as a vector

num_source

numeric value of the number of sources

num_detector

numeric value of the number of detectors

short

a vector indicating the numeric value of short sources, if any

subchar

a vector indicating the characters from the ID to use, passed to substr

Details

currently in beta form for generalisation to other projects. For argument "type", running this depends on locations of short sources and layout of sources vs detectors.

Value

a list of digitizations in dataframe form


samhforbes/digitizeR documentation built on Dec. 29, 2021, 7:17 p.m.