#NEWLINE# def pixtosystem( self , idxs , system = None , coords = 'data' ) : #NEWLINE# #INDENT# if ( self . coordframe == 'pixel' ) : #NEWLINE# #INDENT# ( x , y ) = self . pixtoradec ( idxs , coords = coords ) #NEWLINE# return ( x , y ) #NEWLINE# #UNINDENT# c = self . pixtocoords ( idxs , system = system , coords = coords ) #NEWLINE# return self . _frametofloats ( c )