Searched refs:value_pixel (Results 1 – 1 of 1) sorted by relevance
176 def pixel_to_mm_single_axis(self, value_pixel, axis): argument178 value_mm = float(value_pixel - axis.min) / axis.resolution181 def pixel_to_mm_single_axis_by_name(self, value_pixel, axis_name): argument183 return self.pixel_to_mm_single_axis(value_pixel, self.axes[axis_name])