#NEWLINE# def pan_all_relative( self , fitsimage , chinfo ) : #NEWLINE# #INDENT# if ( self . ref_image is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# image = fitsimage . get_image ( ) #NEWLINE# if ( self . ref_image is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# ( pan_ra , pan_dec ) = fitsimage . get_pan ( coord = 'wcs' ) #NEWLINE# chnames = self . get_other_channels ( chinfo . name ) #NEWLINE# for chname in chnames : #NEWLINE# #INDENT# chinfo2 = self . fv . get_channelInfo ( chname ) #NEWLINE# image = chinfo2 . fitsimage . get_image ( ) #NEWLINE# if ( image is None ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# ( data_x , data_y ) = image . radectopix ( pan_ra , pan_dec ) #NEWLINE# chinfo2 . fitsimage . panset_xy ( data_x , data_y )