This is inconsistent with the Binning Class structure and is confusing.
def getBin(self, dimension, value): return round(round((value - dimension.centerOfFirstBin) / dimension.binWidth, 0) * dimension.binWidth + dimension.centerOfFirstBin, 4)
This should use the binning.Bins Class.