def _setEncoderParams(self):
self.rangeInternal = float(self.maxval - self.minval)<EOL>self.resolution = float(self.rangeInternal) / (self.n - self.w)<EOL>self.radius = self.w * self.resolution<EOL>self.range = self.rangeInternal + self.resolution<EOL>self.nInternal = self.n - <NUM_LIT:2> * self.padding<EOL>self._bucketValues = None<EOL>
Set the radius, resolution and range. These values are updated when minval
and/or maxval change.