code: def project(self, projector = None):
          
          msg = "'%s.project': ADW 2018-05-05"%self.__class__.__name__
          DeprecationWarning(msg)
          if projector is None:
              try:
                  self.projector = ugali.utils.projector.Projector(self.config['coords']['reference'][0],
                                                                   self.config['coords']['reference'][1])
              except KeyError:
                  logger.warning('Projection reference point is median (lon, lat) of catalog objects')
                  self.projector = ugali.utils.projector.Projector(np.median(self.lon), np.median(self.lat))
          else:
              self.projector = projector
  
          self.x, self.y = self.projector.sphereToImage(self.lon, self.lat)
docs: Project coordinates on sphere to image plane using Projector class.