Learn R Programming

AFM (version 2.0)

getNyquistSpatialFrequency: Get the Nyquist spatial frequency

Description

Get the Nyquist spatial frequency of an AFMImage calculated as following: 0.5 multiplied by the minimum between the horizontal scansize divided by the number of samples per line and the vertical scansize divided by the number of lines

Usage

getNyquistSpatialFrequency(AFMImage)

# S4 method for AFMImage getNyquistSpatialFrequency(AFMImage)

Arguments

AFMImage

an AFMImage from Atomic Force Microscopy

Value

the Nyquist spatial frequency of the AFMImage

Details

getNyquistSpatialFrequency returns the Nyquist spatial frequency as a numeric

Examples

Run this code
# NOT RUN {
library(AFM)

data(AFMImageOfNormallyDistributedHeights)
NyquistSpatialFrequency<-getNyquistSpatialFrequency(AFMImageOfNormallyDistributedHeights)
print(NyquistSpatialFrequency)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab