code: def process_slice(self, b_rot90=None):
          '''
          Processes a single slice.
          '''
          if b_rot90:
              self._Mnp_2Dslice = np.rot90(self._Mnp_2Dslice)
          if self.func == 'invertIntensities':
              self.invert_slice_intensities(f process_slice(self, b_rot90=None):
          '''
          Processes a single slice.
          '''
          if b_rot90:
              self._Mnp_2Dslice = np.rot90(self._Mnp_2Dslice)
          if self.func == 'invertIntensities':
              self.invert_slice_intensities()
docs: Processes a single slice.