f METHOD_NAME(self):
 params.pdf_output.window_fraction=1.0
 params.pdf_output.window_offset_x=0.0
 params.pdf_output.window_offset_y=0.0
 params.pdf_output.markup_inliers=True
 couple=(params.pdf_output.window_offset_x,
         params.pdf_output.window_offset_y)
 #instead of self.R.setTransform, which requires pickled spotfinder:
 self.R.T = PointTransform()
 self.R.S = self.R.spotfinder
 self.R.T.setImage(spotfinder=self.R.S,subwindow_origin=couple,commands=params)
 self.R.title(self.image_name)
 #try:
 pil_image = graphic(filein = self.image_name,
                     couple = couple,
                     commands = params)
 self.R.image(pil_image)
 #except:
 #  print "failure, file %s"%self.filename
 if params.pdf_output.markup_inliers:
   self.R.show_ellipse(
   image_number=list(self.R.spotfinder.images.keys())[0],
   tags = ['goodspots','spots_non-ice','hi_pass_resolution_spots',
            'spots_unimodal'],
   detail=True)
 self.R.c.showPage()
 return self