def METHOD_NAME(self, variable):
    # For example, assume that our analog signal is proportional to the square of the variable
    return self.calibration_data.min + self.custom_gain_attribute * self.lockbox.custom_attribute * variable**2