datbayes.py