code: def cmd_c(self, ch=None):
          
          viewer = self.get_viewer(ch)
          if viewer is None:
              self.log("No current viewer/channel.")
              return
  
          viewer.center_image()
docs: c ch=chname
  
          Center the image for the given viewer/channel.