All functions

bootstrap_k()

Helper function: bootstrap scores

br411

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

bullet_pipeline()

Helper file to setup data

bullet_to_land_predict()

Get land to land prediction based on bullet to bullet comparisons

cc_fit_gaussian()

Use a gaussian filter on bullet data frame

cc_fit_loess()

Fit a loess curve to a bullet data frame

cc_get_signature()

Extract signature from crosscut

cc_locate_grooves()

Find the grooves of a bullet land

check_align()

Check align output

check_ccdata()

Check object returned by x3p_crosscut_optimize

check_grooves()

Check grooves for correctness

check_loess_fit()

Check loess or gaussian curve fit object

check_sig()

Check signature object

check_striae()

Check a striae object is valid

check_x3p()

Check whether an x3p argument is character or filename, return an x3p object

compute_average_scores()

Get average scores for bullet to bullet comparisons

extract_feature_D()

Extract average distance between two (or more) aligned signatures

extract_feature_ccf()

Extract ccf from two (or more) aligned signatures

extract_feature_cms()

Extract number of consecutively matching striation marks (peaks and valleys) from two aligned signatures

extract_feature_cms2()

Extract number of consecutively matching elevated striation marks from two aligned signatures

extract_feature_cms2_per_mm()

Extract scaled number of consecutively matching elevated striation marks from two aligned signatures

extract_feature_cms_per_mm()

Extract scaled number of consecutively matching striation marks (peaks and valleys) from two aligned signatures

extract_feature_lag()

Extract lag from two (or more) aligned signatures

extract_feature_lag_mm()

Extract lag in mm from two (or more) aligned signatures

extract_feature_left_cms()

Extract number of consecutively matching elevated striation marks from the left of two aligned signatures

extract_feature_length()

Extract length of two (aligned) signatures

extract_feature_length_mm()

Length of two (aligned) signatures in millimeter

extract_feature_matches()

Extract number of matching striation marks from two aligned signatures

extract_feature_matches_per_mm()

Extract scaled number of matching striation marks from two aligned signatures

extract_feature_mismatches()

Extract number of mismatched striation marks from two aligned signatures

extract_feature_mismatches_per_mm()

Extract number of mismatched striation marks from two aligned signatures

extract_feature_non_cms()

Extract number of consecutively non-matching striation marks from two aligned signatures

extract_feature_non_cms_per_mm()

Extract scaled number of consecutively non-matching striation marks from two aligned signatures

extract_feature_overlap()

Extract overlap between two aligned signatures

extract_feature_right_cms()

Extract number of consecutively matching elevated striation marks from the right of two aligned signatures

extract_feature_rough_cor()

Extract rough correlation from two (or more) aligned signatures

extract_feature_sd_D()

Extract variation in the height measurements between two aligned signatures

extract_feature_sum_peaks()

Extract the combined height of aligned striae between two aligned signatures

extract_features_all()

Extract features from aligned signatures

extract_features_all_legacy()

Extract features from aligned signatures (legacy)

extract_helper_feature_n_striae()

Extract information for striation marks from two aligned signatures

get_ccf()

Cross correlation function between two vectors

get_longest_run()

Length of the longest run of TRUEs

get_runs()

Table of the number of runs

hamby252demo

hamby252demo

hamby252demo_github

hamby252demo_github

land_cc()

Get a specified cross section

max_u()

Get land to land prediction based on bullet to bullet comparisons

raw_sig_smooth()

Smooth the raw signature

read_bullet()

Reading all x3p scans belonging to a single bullet from a folder

read_dir()

Reading all x3p scans belonging to a folder

rtrees

randomforest

sig_align()

Align two surface cross cuts according to maximal correlation

sig_cms_max()

Identify the number of maximum CMS between two signatures

sig_get_peaks()

Identify the location and the depth of peaks and valleys in a signature

smoothloess()

Predict smooth from a fit

striation_identify_matches()

Match striation marks across two aligned signatures

switch_xy()

Switch x and y in a data frame

x3p_crosscut()

Read a crosscut from a 3d surface file

x3p_crosscut_optimize()

Identify a reliable cross section

x3pheader_to_microns()

Convert x3p header information to microns from meters