newanalysis.unfold.minDist

newanalysis.unfold.minDist(xyz1, xyz2, boxl, boxl2)

Gives the shortest distance between xyz1 and xyz2 considering periodic boundary conditions.