get_cell_image allow you to input an image with sublattice coords and remove some intensity form each atom by choosing reduce_func. The default is reduce_func=np.min. This will remove the local minimum intensity from all intensities around each atom.
Essentially local background removal.
remove_image_intensity_in_data_slice calls _remove_image_slice_around_atom which will return a square slice around each atom. Similar to _get_image_slice_around_atom in Atomap. Intended for local background removal, but get_cell_image should be used instead, as it calculates the distance of each pixel from each atom which act as Voronoi cells.
Could be useful in future or for investigating intensities around atoms.
Three functions added.
get_cell_image
allow you to input an image with sublattice coords and remove some intensity form each atom by choosingreduce_func
. The default isreduce_func=np.min
. This will remove the local minimum intensity from all intensities around each atom. Essentially local background removal.remove_image_intensity_in_data_slice
calls_remove_image_slice_around_atom
which will return a square slice around each atom. Similar to_get_image_slice_around_atom
in Atomap. Intended for local background removal, butget_cell_image
should be used instead, as it calculates the distance of each pixel from each atom which act as Voronoi cells. Could be useful in future or for investigating intensities around atoms.