def _updateBoostFactorsLocal(self):
<EOL>targetDensity = numpy.zeros(self._numColumns, dtype=realDType)<EOL>for i in range(self._numColumns):<EOL><INDENT>maskNeighbors = self._getColumnNeighborhood(i)<EOL>targetDensity[i] = numpy.mean(self._activeDutyCycles[maskNeighbors])<EOL><DEDENT>self._boostFactors = numpy.exp(<EOL>(targetDensity - self._activeDutyCycles) * self._boostStrength)<EOL>
Update boost factors when local inhibition is used