data frame has ($x, $y, $z) in units for particular channel, ($x, $y) are always in units of nanometer

AFM.raster(obj, no = 1)

Arguments

obj

AFMdata object

no

channel number

Value

data.frame with ($x, $y, $z) raster image; ($x,$y) in units of nm, or ($freq, $z) for frequency sweep

Details

for frequency data sweep, it will return ($freq, $z) instead

Author

Thomas Gredig

Examples

afmd = AFM.import(AFM.getSampleImages(type='ibw'))
d = AFM.raster(afmd, 1)
head(d)
#>           x y        z
#> 1   0.00000 0 11.92385
#> 2  31.49606 0 13.59302
#> 3  62.99213 0 14.68064
#> 4  94.48819 0 13.74352
#> 5 125.98425 0 13.16008
#> 6 157.48031 0 10.67909