def mapBucketIndexToNonZeroBits(self, index):
if index < <NUM_LIT:0>:<EOL><INDENT>index = <NUM_LIT:0><EOL><DEDENT>if index >= self._maxBuckets:<EOL><INDENT>index = self._maxBuckets-<NUM_LIT:1><EOL><DEDENT>if index not in self.bucketMap:<EOL><INDENT>if self.verbosity >= <NUM_LIT:2>:<EOL><INDENT>print("<STR_LIT>", index)<EOL><DEDENT>self._createBucket(index)<EOL><DEDENT>return self.bucketMap[index]<EOL>
Given a bucket index, return the list of non-zero bits. If the bucket
index does not exist, it is created. If the index falls outside our range
we clip it.

:param index The bucket index to get non-zero bits for.
@returns numpy array of indices of non-zero bits for specified index.