outputs commands to recreate this particular AFM data image; if line profiles were added or the image was cropped that history will be shown; this allows reproducibility of the image.

AFM.history(obj, verbose = FALSE)

Arguments

obj

AFMdata object to be cropped

verbose

output additional information if TRUE

Value

image history

Author

Thomas Gredig

Examples

d <- AFM.import(AFM.getSampleImages('tiff'))
d <- AFM.lineProfile(d, 50,50,75,75, unitPixels = TRUE)
d <- AFM.lineProfile(d, 15,125,75,75, unitPixels = TRUE)
AFM.history(d)
#> [1] "obj = AFM.import('/private/var/folders/bz/zk25f6614w5b3_f61czs2dtc0000gr/T/Rtmp3VmG9r/temp_libpath12ca60a44957/nanoAFMr/extdata/Park_20210916_034.tiff')"
#> [2] " AFM.lineProfile(obj, 50 , 50 , 75 , 75 ,unitPixels = T) -> obj"                                                                                         
#> [3] " AFM.lineProfile(obj, 15 , 125 , 75 , 75 ,unitPixels = T) -> obj"