code: def write_outxy(self,filename):
          
          f = open(filename,'w')
          f.write("#Pixel positions for: "+self.name+'\n')
          f.write("#X           Y\n")
          f.write("#(pix)       (pix)\n")
          for i in range(self.all_radec[0].shape[0]):
              f.write('%f  %f\n'%(self.outxy[i,0],self.outxy[i,1]))
          f.close()
docs: Write out the output(transformed) XY catalog for this image to a file.