def METHOD_NAME(self, number):
    if number > self.absolute_limt:
        number = self.absolute_limt
    elif number < -self.absolute_limt:
        number = -self.absolute_limt
    return (number + self.absolute_limt) / (self.absolute_limt * 2 + 1e-8)