shiftFFT2D: Shift the quadrants of the FFT 2D

Description Usage Arguments Value Author(s) Examples

View source: R/AFMPSDAnalyser.R

Description

shiftFFT2D returns the FFT 2D matrix shifted to put zero frequencies in the middle.

Usage

1
shiftFFT2D(fft2data)

Arguments

fft2data

the FFT 2D of the AFM image

Value

The shifted matrix

Author(s)

M.Beauvais

Examples

 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)

AFM documentation built on Oct. 23, 2020, 5:23 p.m.

Related to shiftFFT2D in AFM...