diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/argaze/PupilAnalysis/WorkloadIndex.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/PupilAnalysis/WorkloadIndex.py b/src/argaze/PupilAnalysis/WorkloadIndex.py index 6728595..dfb7005 100644 --- a/src/argaze/PupilAnalysis/WorkloadIndex.py +++ b/src/argaze/PupilAnalysis/WorkloadIndex.py @@ -44,7 +44,7 @@ class PupilDiameterAnalyzer(PupilFeatures.PupilDiameterAnalyzer): workload_index = 0. - self.__variations_sum = abs(pupil_diameter.value - self.reference.value) + self.__variations_sum = pupil_diameter.value - self.reference.value self.__variations_number = 1 self.__last_ts = ts @@ -52,6 +52,6 @@ class PupilDiameterAnalyzer(PupilFeatures.PupilDiameterAnalyzer): else: - self.__variations_sum += abs(pupil_diameter.value - self.reference.value) + self.__variations_sum += pupil_diameter.value - self.reference.value self.__variations_number += 1
\ No newline at end of file |