Bayes-Turchin approach to x-ray absorption fine structure data analysis