Classes providing the methods to calculate the correlation function of a sample with misfited interface