def METHOD_NAME(self, event) :
    # I don't bother with the event, I just check everything again
    if (self.isEnabled) :
        if (self.inIsLight) :
            v = self.inObject.getTargetIntensity()
        if (self.inIsMemory) :
            v = float(self.inObject.getValue())
        if (v < self.inPoints[0]) :
            v = self.inPoints[0]
        if (v > self.inPoints[len(self.inPoints) - 1]) :
            v = self.inPoints[len(self.inPoints) - 1]
        testPt = 1
        while (testPt < len(self.inPoints)) :
            if (self.isDebug) :
                print "v: " + v.toString() + " [" + testPt.toString() + "] " + self.inPoints[testPt].toString()
            if (v <= self.inPoints[testPt]) :
                break
            testPt = testPt + 1
        if (testPt >= len(self.inPoints)) :
            testPt = len(self.inPoints) - 1
        if (self.isDebug) :
            print "v: " + v.toString() + " testPt: " + testPt.toString()
        inRange = self.inPoints[testPt] - self.inPoints[testPt - 1]
        outRange = self.outPoints[testPt] - self.outPoints[testPt - 1]
        diff = v - self.inPoints[testPt - 1]
        factor = diff / inRange
        outV = self.outPoints[testPt - 1] + (outRange * factor)
        if (self.isDebug) :
            print "inRange: " + inRange.toString() + " outRange: " + outRange.toString()
            print "diff: " + diff.toString() + " factor: " + factor.toString()
        if (self.outIsLight) :
            self.outObject.setTargetIntensity(outV)
        if (self.outIsMemory) :
            self.outObject.setValue(outV)
        if (self.isDebug) :
            print "setting " + self.outObjectName + ": " + outV.toString()
    return