def _plane2col(plane):
planes = ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>')<EOL>assert plane in planes, '<STR_LIT>' + str(planes)<EOL>return (getattr(COLS, plane[<NUM_LIT:0>].capitalize()),<EOL>getattr(COLS, plane[<NUM_LIT:1>].capitalize()), )<EOL>
take a string like 'xy', and return the indices from COLS.*