Description Usage Arguments Value Author(s) Examples
View source: R/AFMPSDAnalyser.R
shiftFFT2D
returns the FFT 2D matrix shifted to put zero frequencies in the middle.
1 | shiftFFT2D(fft2data)
|
fft2data |
the FFT 2D of the AFM image |
The shifted matrix
M.Beauvais
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(AFM)
library(fftwtools)
data(AFMImageOfNormallyDistributedHeights)
AFMImage<-AFMImageOfNormallyDistributedHeights
nMheightsData= matrix(AFMImage@data$h, nrow=AFMImage@samplesperline)
shiftedFFT2D<-shiftFFT2D(fftwtools::fftw2d(nMheightsData))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.