Search nearest neighbours to loc in locarg.
loc (tuple, dict or neat.MorphLoc) – The locations for which nearest neighbours have to be found
locarg (str or list of locs) – See documentation of MorphTree._parseLocArg, the set of locations within which to look for nearest neighbours
Indices of nearest neighbours of loc in locarg
- Return type
list of ints