AFM.flatten: Flattens an AFM image using a plane fit

View source: R/AFM.flatten.R

AFM.flattenR Documentation

Flattens an AFM image using a plane fit

Description

uses the AFM.raster() function, makes a copy of the object and fits a plane, returns the flattened object

Usage

AFM.flatten(obj, no = 1, verbose = FALSE)

Arguments

obj

AFMdata object

no

channel number

verbose

output fitting parameters

Value

flattened matrix with AFM image

Author(s)

thomasgredig

Examples

d = AFM.import(AFM.getSampleImages(type='ibw'))
d2 = AFM.flatten(d)
plot(d2,graphType=2)

thomasgredig/nanoscopeAFM documentation built on Jan. 4, 2023, 1:33 p.m.