docs: def configure_singlecolor_image(self, scale=False):
          """
          configures the single color image according to the requested parameters
          :return: nothing, just updates self.image
          """
          # determine which channel to use
          self.image = self.data[self.singlecolorvar.get()]
  
          # scale the image by requested power
          self.image = np.power(self.image, self.singlecolorpower.get())
  
          # adjust the percentile thresholds
          lower = np.nanpercentile(self.image, self.singlecolormin.get())
          upper = np.nanpercentile(self.image, self.singlecolormax.get())
          self.image[self.image < lower] = lower
          self.image[self.image > upper] = upper
  
          # image values must be between (0,1) so scale image
          self.image /= np.nanmax(self.image)