cc_fit_gaussian | R Documentation |
A gaussian filter is fit to the surface measurements and residuals are calculated. The most extreme 0.25\ The result is called the raw signature of the bullet land.
cc_fit_gaussian(ccdata, span = 600)
ccdata |
The crosscut as returned from x3p_to_df |
span |
The size, in microns, of the smoothing window. Defaults to 600, which is 24\ 9mm land. |
a list of a data frame of the original bullet measurements extended by gaussian filtration, residuals, and two plots: a plot of the fit, and a plot of the bullet's land signature.
library(dplyr)
ccdata <- data_frame(
x = seq(0, 6000, 1),
value = 10 - (3 - x / 1000)^2 + rnorm(length(x), sd = .25)
)
cc_fit_gaussian(ccdata = ccdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.