Description Usage Arguments Value Author(s) Examples
The calculation of the roughness against lengthscale is performed throught a FFT 2D calculation, PSD 2D calculation and a meshgrid of frequencies.
RoughnessByLengthScale
returns a data.table of roughnesses against length scales
1 2 3 4 | RoughnessByLengthScale(AFMImage, AFMImagePSDAnalysis)
## S4 method for signature 'AFMImage'
RoughnessByLengthScale(AFMImage, AFMImagePSDAnalysis)
|
AFMImage |
an |
AFMImagePSDAnalysis |
n |
a data table of lenght scale (r) and roughness values (roughness)
roughness: roughnesses
r: length scales
filename: fullfilename slot of the AFMImage
M.Beauvais
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
library(AFM)
library(ggplot2)
data("AFMImageOfNormallyDistributedHeights")
oneAFMImage<-AFMImageOfNormallyDistributedHeights
AFMImagePSDAnalysis<-AFMImagePSDAnalysis()
data<-RoughnessByLengthScale(oneAFMImage, AFMImagePSDAnalysis)
r<-roughness<-filename<-NULL
p1 <- ggplot(data, aes(x=r, y=roughness, colour= basename(filename)))
p1 <- p1 + geom_point()
p1 <- p1 + geom_line()
p1 <- p1 + ylab("roughness (nm)")
p1 <- p1 + xlab("lengthscale (nm)")
p1
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.