def getBucketInfo(self, buckets):
<EOL>topDownMappingM = self._getTopDownMapping()<EOL>category = buckets[<NUM_LIT:0>]<EOL>encoding = self._topDownMappingM.getRow(category)<EOL>if self.periodic:<EOL><INDENT>inputVal = (self.minval + (self.resolution / <NUM_LIT>) +<EOL>(category * self.resolution))<EOL><DEDENT>else:<EOL><INDENT>inputVal = self.minval + (category * self.resolution)<EOL><DEDENT>return [EncoderResult(value=inputVal, scalar=inputVal, encoding=encoding)]<EOL>
See the function description in base.py