shiftFFT2D {AFM} | R Documentation |
shiftFFT2D
returns the FFT 2D matrix shifted to put zero frequencies in the middle.
shiftFFT2D(fft2data)
fft2data |
the FFT 2D of the AFM image |
The shifted matrix
M.Beauvais
## 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)