where Y m l are the spherical harmonics and g n-l,l the spherical Bessel radial functions. The resolution of the descriptor is controlled by n max which sets the number of basis functions to (n max + 1)(n max + 2)/2. Subsequently, these descriptor fragments are made rotationally invariant by contracting the angular parts: