Researchers have developed a Bayesian probability-based computer program to help work out the structure of perovskite oxides at their interfaces.