All functions

boot_fit_loess

Fit a LOESS model with bootstrap samples

br411

3d topological surface measurements for one land of a bullet from the Hamby study

bulletAlign

Align two surface cross cuts according to maximal correlation

bulletCheckCrossCut

Identifying a reliable cross section

bulletGetMaxCMS_nist

Identify the number of maximum CMS between two bullet lands

bulletGetMaxCMS

Identify the number of maximum CMS between two bullet lands

bulletSmooth

Smooth the surface of a bullet

chumbley

Chumbley test score

CMS

Table of the number of consecutive matches

compute_average_scores

Get average scores

do_align

Align two surface cross cuts using cross correlation

fit_loess

Fit a loess curve to a bullet data frame

fortify_x3p

Convert an x3p file into a data frame

get_bullet

Deprecated function use get_crosscut

get_chumbley

Compute a Chumbley test score

get_cor

Get correlation between two signatures

get_crosscut

Read a crosscut from a 3d surface file

get_D

Compute the Euclidean distance between toolmarks

get_features

Get a feature vector for a pair of lands

get_grooves_middle

Use the center of a crosscut

get_grooves_quadratic

Quadratic fit to find groove locations

get_grooves_rollapply

Using rollapply to find grooves in a crosscut

get_grooves

Find the grooves of a bullet land

get_H

Compute the Hausdorff distance between toolmarks

get_lag_max_R

Get R Statistic for Chumbley matching

get_lag

Get best lag for two vectors based on cross-correlation

get_peaks_nist

Identify the location and the depth of peaks and heights at a crosscut

get_peaks

Identify the location and the depth of peaks and heights at a crosscut

getCircle

Estimate center and radius

getTwist

Estimate the twist in a bullet land

maxCMS

Number of maximum consecutively matching striae

my_ccf

Cross correlation function between two vectors

plot_3d_land

Plot a bullet land using plotly

predCircle

Estimate predictions and residuals for a circle fit of x and y

predSmooth

Estimate predictions and residuals for a smooth of x and y

processBullets

Process x3p file

read_dat

Read a dat file and create an x3p file

rtrees

randomforest

smoothloess

Predict smooth from a fit

striation_identify

Match striation marks across two cross sections based on previously identified peaks and valleys

unfortify_x3p

Convert a data frame into an x3p file