beta fitting is implemented in data_proc.py