get_D: Compute the Euclidean distance between toolmarks

View source: R/features.R

get_DR Documentation

Compute the Euclidean distance between toolmarks

Description

Compute the Euclidean distance between two toolmark patterns. The striation patterns are not aligned before the distance is calculated.

Usage

get_D(y1, y2, normalize = TRUE, resolution = 0.645)

Arguments

y1

vector of equi-distant toolmark values

y2

vector of equi-distant toolmark values

normalize

should the result be normalized to 1000 microns (1 millimeter)? Defaults to TRUE.

resolution

microns per pixel. Only used for normalization.


erichare/bulletr documentation built on May 3, 2024, 10:14 p.m.