Compute the reaction coordinate for a path.
The reaction coordinate \(\chi_k\) of the k-th image of n images in total is given by:
path (Sequence[Cartesian])
ndarray[tuple[int], dtype[float64]]