Home | History | Annotate | Download | only in firmware_TouchMTB

Lines Matching refs:left

54         parameters: (left, middle, right)
55 grade(x) = 0.0, when x <= left
56 0.0 to 1.0, when left <= x <= middle
66 - When x becomes near 'left' or 'right', its grade may drop
72 self.left, self.middle, self.right = self.para_values
74 self.width_left = self.middle - self.left
80 elif x <= self.left or x >= self.right:
94 parameters: (left, right)
96 0 for x <= left
105 - When x becomes near 'left' value, its grade may drop faster
112 self.left, self.right = self.para_values
113 self.width = self.right - self.left
119 elif x <= self.left:
129 parameters: (left, right)
130 grade(x) = 1 for x <= left
138 Note: - When x is greater than but near 'left' value, the grade would be
147 self.left, self.right = self.para_values
148 self.width = self.right - self.left
152 if x <= self.left:
157 return 0.5 + 0.5 * math.cos((x - self.left) / self.width * math.pi)