Split a reference scan into a grid of cells

Arguments

x3p

an x3p object containing a breech face scan

numCells

number of cells to partition the breech face scan into. Must be a perfect square (49, 64, 81, etc.)

Value

A tibble containing a numCells number of rows. Each row contains a single cell's index of the form (row #, col #) and an x3p object containing the breech face scan of that cell.

Examples

data(fadul1.1_processed) cellTibble <- fadul1.1_processed %>% comparison_cellDivision(numCells = 64) head(cellTibble)
#> # A tibble: 6 x 2 #> cellIndex cellHeightValues #> <chr> <named list> #> 1 8, 1 <x3p> #> 2 8, 2 <x3p> #> 3 8, 3 <x3p> #> 4 8, 4 <x3p> #> 5 8, 5 <x3p> #> 6 8, 6 <x3p>