def iter_surrounding(self, center_key):
for shift in self.neighbor_indexes:<EOL><INDENT>key = tuple(np.add(center_key, shift).astype(int))<EOL>if self.integer_cell is not None:<EOL><INDENT>key = self.wrap_key(key)<EOL><DEDENT>bin = self._bins.get(key)<EOL>if bin is not None:<EOL><INDENT>yield key, bin<EOL><DEDENT><DEDENT>
Iterate over all bins surrounding the given bin