Want to accelerate your distance, angle, and dihedral calculations with blazing speed? You are in luck! As part of an MDAnalysis CSI EOSS project, Richard Gowers and I developed distopia, a high-performance Python library designed to efficiently compute these geometric measures under periodic boundary conditions (PBCs) using explicitly vectorised SIMD. Distopia is compatible with common PBC types, is highly performant on modern CPUs at single and double precision with minimal code changes, and is usable either as a standalone package or from within MDAnalysis’ distance backend. We think we have one of, if not the fastest package for calculating distances, angles and dihedrals under PBCs on a CPU but would love to be proved wrong!
...