Learn R Programming

AFM (version 1.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)

## S3 method for class '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
library(AFM)

data(AFMImageOfNormallyDistributedHeights)
NyquistSpatialFrequency<-getNyquistSpatialFrequency(AFMImageOfNormallyDistributedHeights)
print(NyquistSpatialFrequency)

Run the code above in your browser using DataLab