sknano.utils.analysis.find_target_atom¶
-
sknano.utils.analysis.
find_target_atom
(atoms, target_coords=None, search_radius=1.0, nearest_target=False, max_search_radius=None)[source][source]¶ Search for atom closest to target location.
Parameters: atoms :
Atoms
An
Atoms
instance.target_coords : array_like
An array or list of \(x,y,z\) coordinates
search_radius :
float
, optionalSearch radius
nearest_target :
bool
, optionalmax_search_radius :
float
, optionalReturns: target_atom
Atom
An
Atom
instance.