exported calc_convergence and get_base