Bayesian approach for positioning

Hmm, you seems to describing some kind of Bayesian filter, which we dont currently have any example of. You might find https://github.com/rlabbe/Kalman-and-Bayesian-Filters-in-Python helpful.