code: def doUnitConversions(self):
          
          for det in range(1,self._numchips+1,1):
  
              chip=self._image[self.scienceExt,det]
  
              conversionFactor = self.effGain
              chip._gain = self.effGain #1.
              chip.effGain = self.effGain
              chip._conversionFactor = conversionFactor
docs: Convert the data to electrons.
  
          This converts all science data extensions and saves
          the results back to disk. We need to make sure
          the data inside the chips already in memory is altered as well.