AFM.dataType: Get AFMdata object type: image, frequency, force,...

View source: R/AFMdata.R

AFM.dataTypeR Documentation

Get AFMdata object type: image, frequency, force, spectroscopy

Description

Determine the type of the AFM file; this could be an 'image' or 'frequency' for resonance curve, or 'spectroscopy' for a force vs distance spectroscopy file, 'noImage' for a file with data and no image

Usage

AFM.dataType(obj)

Arguments

obj

AFMdata object

Value

string with AFM type, "image", "noImage", "frequency", "spectroscopy"

Author(s)

Thomas Gredig

Examples


# show the data type for each AFM file
fList = AFM.getSampleImages()
sapply(fList, function(x) { AFM.dataType(AFM.import(x)) })


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