def encodeIntoArray(self, inputData, output):
(coordinate, radius) = inputData<EOL>assert isinstance(radius, int), ("<STR_LIT>"<EOL>.format(radius, type(radius)))<EOL>neighbors = self._neighbors(coordinate, radius)<EOL>winners = self._topWCoordinates(neighbors, self.w)<EOL>bitFn = lambda coordinate: self._bitForCoordinate(coordinate, self.n)<EOL>indices = numpy.array([bitFn(w) for w in winners])<EOL>output[:] = <NUM_LIT:0><EOL>output[indices] = <NUM_LIT:1><EOL>
See `nupic.encoders.base.Encoder` for more information.

@param inputData (tuple) Contains coordinate (numpy.array, N-dimensional
                         integer coordinate) and radius (int)
@param output (numpy.array) Stores encoded SDR in this numpy array