afmReadVeeco: Read Bruke Nanoscope Veeco ascii file

Description Usage Arguments Value Examples

View source: R/afmReadVeeco.R

Description

Read an ascii Veeco file.

Reads an ascii Veeco file with one or two segments.

Usage

1
afmReadVeeco(filename, path = "")

Arguments

filename

String with the name of the jpk file.

path

Path to the folder where the file is.

FColStr

String pattern identifying the Force columns (defaults to "pN")

ZColStr

String pattern identifying the Z columns (defaults to "Ramp")

tColStr

String pattern identifying the Time columns (defaults to "Time")

TimeCol

Logical value. If TRUE (default) there is a Time column.

Value

A afmdata structure list containing a field 'data' which is a data frame with variables Force, Z, Time (if aplicable) and Segment ("approach", "retract" and/or "pause") and a field 'params' which is a list with the fields 'curvename' and 'SpringConstant'.

Examples

1
2
data <- afmReadVeeco("veeco_file.txt.gz",path = path.package("afmToolkit"))
str(data)

rbensua/afmToolkit documentation built on Dec. 1, 2020, 2:14 a.m.