def _frametofloats(self, frame):
        r = frame.data
        return tuple([getattr(r, component).value for component in r.components[:2]])
Take any astropy coord frame and return the first two components as
dataset/ETHPy150Open ejeschke/ginga/ginga/util/wcsmod.py/AstropyWCS2._frametofloats