Model-agnostic basis functions for the 2-point correlation function of dark matter in linear theory