remove explicit dependence on Atpy