Description Usage Arguments Value Examples
This function will floor extreme values from an afm map. You can inspect the distribution of values in an afm map with 'afm_hist()' and then trim extreme values either by quantile or specific cutoff. By default the cutoffs will be set to the upper 97.5 you can set the minimum and maximum values specifically using the 'min' and 'max' arguments. The trimmed data will be added to your afm_scan object under 'maps' as eg. Height_Sensor_matrix_trimmed. The trimmed data should never be used for calculation, only to improve image quality.
1 2 |
data |
an "afm_scan" data object |
matrix |
the name of the afm map you want to trim |
lower |
the lower quantile (default 0.025) |
upper |
the upper quantile (default 0.975) |
min |
the minimum value cutoff (overrides quantile) |
max |
the maximum value cutoff (overrides quantile) |
an "afm_scan" data object with the trimmed matrix added under 'maps'
1 2 | load("data/half_um_scan.rda")
afm_trim(half_um_scan, matrix = "Height_Sensor_matrix")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.