Given the pair correlation function \(g(r)\)  of an ensemble of particles at their thermodynamic equilibrium, one can use various approximations to guess the underlying interaction.
In a mean-field approximation for instance [1]}, the interaction would simply be given by
\(V^\mathrm {mf}(r) = -kT \log \,[g(r)].\) 
