shiftFFT2D {AFM} | R Documentation |
Shift the quadrants of the FFT 2D
Description
shiftFFT2D
returns the FFT 2D matrix shifted to put zero frequencies in the middle.
Usage
shiftFFT2D(fft2data)
Arguments
fft2data |
the FFT 2D of the AFM image |
Value
The shifted matrix
Author(s)
M.Beauvais
Examples
## 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)
[Package AFM version 2.0 Index]