code: def dysmetria_score(self, data_frame):
          
          tap_data = data_frame[data_frame.action_type == 0]
          ds = np.mean(np.sqrt((tap_data.x - tap_data.x_target) ** 2 + (tap_data.y - tap_data.y_target) ** 2))
          duration = math.ceil(data_frame.td[-1])
          return ds, duration
docs: This method calculates accuracy of target taps in pixels
  
              :param data_frame: the data frame
              :type data_frame: pandas.DataFrame
              :return ds: dysmetria score in pixels
              :rtype ds: float