code: def reset_point_source_cache(self, bool=True):
          
          if self.PointSource is not None:
              self.PointSource.delete_lens_model_cach()
              self.PointSource.set_save_cache(bool)
docs: deletes all the cache in the point source class and saves it from then on
  
          :return: