docstring for beta0_curve_from_b2data