code: def set_logscale(self,t=True):
          
          if(t == self.get_logscale()):
              return
          else:
              if(t):
                  self.__image = np.log10(self.__image+1)
                  self.__logscale_flag = True;
              else:
                  self.__image = 10**self.__image-1.
                  self.__logscale_flag = False;
docs: - set_logscale(): If M is the matrix of the image, it defines the image M as log10(M+1).