Before revision:   We provide a freely available Python implementation of the p-value method that may serve as a general tool for extracting the interaction rules in collective systems of self-driven agents.
After revision:  We provide a freely available Python implementation of the p-value method that may serve as a general tool for detecting long-range interactions in collective systems of self-driven agents.