checkIsotropy {AFM}R Documentation

Check the isotropy of a sample

Description

checkIsotropy is used to check the isotropy of an AFMImage. A directional variogram is calculated for various directions. If the variogram is very similar for all the directions then the sample is isotropic.

Usage

checkIsotropy(AFMImage, AFMImageAnalyser)

Arguments

AFMImage

an AFMImage to be analysed

AFMImageAnalyser

an AFMImageAnalyser to perform the analysis

Value

an AFMImageAnalyser containing the directional variograms

Author(s)

M.Beauvais

Examples

## Not run: 
library(AFM)
library(ggplot2)

data(AFMImageOfAluminiumInterface)
AFMImage<-extractAFMImage(AFMImageOfAluminiumInterface, 0, 0, 32)
AFMImageAnalyser<-new("AFMImageAnalyser", AFMImage= AFMImage, fullfilename = AFMImage@fullfilename)
AFMImageAnalyser<-checkIsotropy(AFMImage,AFMImageAnalyser)
varios<-AFMImageAnalyser@variogramAnalysis@directionalVariograms
p2 <- ggplot(varios, aes(x=dist, y=gamma,  
                         color= as.factor(dir.hor), shape=as.factor(dir.hor)))
p2 <- p2 + expand_limits(y = 0)
p2 <- p2 + geom_point()
p2 <- p2 + geom_line()
p2 <- p2 + ylab("semivariance (nm^2)")
p2 <- p2 + xlab("distance (nm)")
p2 <- p2 + ggtitle("Directional")
p2

## End(Not run)


[Package AFM version 2.0 Index]