To show six close neighbouring atoms around atom 1 run:
In [ ]:
st = calc['example'].end
st.write_xyz(analysis = 'imp_surrounding', show_around = 1, nnumber = 6)
if you need only specific atoms add only_elements = [z1, z2, ...], where z1, z2, ... are atomic numbers
List of neibouring atoms:
In [1]:
st.nn(21, 5) # show list of 5 closest neigbouring atoms around atom 21