def _updateBoostFactorsGlobal(self):
<EOL>if (self._localAreaDensity > <NUM_LIT:0>):<EOL><INDENT>targetDensity = self._localAreaDensity<EOL><DEDENT>else:<EOL><INDENT>inhibitionArea = ((<NUM_LIT:2> * self._inhibitionRadius + <NUM_LIT:1>)<EOL>** self._columnDimensions.size)<EOL>inhibitionArea = min(self._numColumns, inhibitionArea)<EOL>targetDensity = float(self._numActiveColumnsPerInhArea) / inhibitionArea<EOL>targetDensity = min(targetDensity, <NUM_LIT:0.5>)<EOL><DEDENT>self._boostFactors = numpy.exp(<EOL>(targetDensity - self._activeDutyCycles) * self._boostStrength)<EOL>
Update boost factors when global inhibition is used