def compute_neighbour_distances(self):
if len(self.coords) <= <NUM_LIT:1>:<EOL><INDENT>return np.zeros((<NUM_LIT:0>,), dtype=np.float32)<EOL><DEDENT>return np.sqrt(<EOL>np.sum(<EOL>(self.coords[:-<NUM_LIT:1>, :] - self.coords[<NUM_LIT:1>:, :]) ** <NUM_LIT:2>,<EOL>axis=<NUM_LIT:1><EOL>)<EOL>)<EOL>
Get the euclidean distance between each two consecutive points.

Returns
-------
ndarray
    Euclidean distances between point pairs.
    Same order as in `coords`. For ``N`` points, ``N-1`` distances
    are returned.