afmIndentation {afmToolkit}R Documentation

afmIndentation

Description

This function computes the deformation of the sample from the calibrated Force-Distance curve, by substracting Z to the Zero Force Point calculated with afmZeroPointSlope function.

Usage

afmIndentation(afmdata)

Arguments

afmdata

An afmdata object. It should be a valid afmdata object upon which the Contact Point, the baseline correction and the Zero Force Point must have been calculated first (using functions afmContactPoint(), afmBaselineCorrection()) and afmZeroPointSlope()

Value

Returns a list with one field:

afmdata: An afmdata class in which a Indentation column is added in the data field.

Examples

data <- afmReadJPK("force-save-JPK-3h.txt.gz", path = path.package("afmToolkit"))
data <- afmContactPoint(data, width = 20, mul1 = 1, mul2 = 20)
data <- afmDetachPoint(data, width = 40, mul1 = 3, mul2 = 40)
data <- afmBaselineCorrection(data)
data <- afmZeroPointSlope(data, segment = "approach")
data <- afmIndentation(data)
head(data$data)

[Package afmToolkit version 0.0.1 Index]