aboutsummaryrefslogtreecommitdiff
path: root/src/argaze/PupillFeatures.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/argaze/PupillFeatures.py')
-rw-r--r--src/argaze/PupillFeatures.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/argaze/PupillFeatures.py b/src/argaze/PupillFeatures.py
index 5eb70ce..8aa7827 100644
--- a/src/argaze/PupillFeatures.py
+++ b/src/argaze/PupillFeatures.py
@@ -79,10 +79,10 @@ class TimeStampedPupillDiameters(DataFeatures.TimeStampedBuffer):
TimeStampedBufferType = TypeVar('TimeStampedBuffer', bound="TimeStampedBuffer")
# Type definition for type annotation convenience
-class PupillDiameterAnalyzer():
+class PupillDiameterAnalyzer(DataFeatures.PipelineStepObject):
"""Abstract class to define what should provide a pupill diameter analyser."""
- @DataFeatures.PipelineStep
+ @DataFeatures.PipelineStepMethod
def analyze(self, ts, pupill_diameter) -> float:
"""Analyze pupill diameter from successive timestamped pupill diameters."""