aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2024-03-12 16:16:31 +0100
committerThéo de la Hogue2024-03-12 16:16:31 +0100
commit2ee8b9a41db136acc9e14a4839b4791fd1dc8ce7 (patch)
treec2732560c1d21049d595dfa1be441643682355d5 /src
parentb5c71523c15e168d1417c25aaeee0622dfe4940c (diff)
downloadargaze-2ee8b9a41db136acc9e14a4839b4791fd1dc8ce7.zip
argaze-2ee8b9a41db136acc9e14a4839b4791fd1dc8ce7.tar.gz
argaze-2ee8b9a41db136acc9e14a4839b4791fd1dc8ce7.tar.bz2
argaze-2ee8b9a41db136acc9e14a4839b4791fd1dc8ce7.tar.xz
Defining ScanPathanalyzer and AOIScanPathAnalyzer analysis as a method.
Diffstat (limited to 'src')
-rw-r--r--src/argaze/ArFeatures.py4
-rw-r--r--src/argaze/GazeFeatures.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py
index 303c60c..75da792 100644
--- a/src/argaze/ArFeatures.py
+++ b/src/argaze/ArFeatures.py
@@ -210,7 +210,7 @@ class ArLayer(DataFeatures.SharedObject, DataFeatures.PipelineStepObject):
for aoi_scan_path_analyzer_module_path, aoi_scan_path_analyzer in self.__aoi_scan_path_analyzers.items():
- yield aoi_scan_path_analyzer_module_path, aoi_scan_path_analyzer.analysis
+ yield aoi_scan_path_analyzer_module_path, aoi_scan_path_analyzer.analysis()
def as_dict(self) -> dict:
"""Export ArLayer properties as dictionary."""
@@ -632,7 +632,7 @@ class ArFrame(DataFeatures.SharedObject, DataFeatures.PipelineStepObject):
for aoi_scan_path_analyzer_module_path, aoi_scan_path_analyzer in self.__aoi_scan_path_analyzers.items():
- yield aoi_scan_path_analyzer_module_path, aoi_scan_path_analyzer.analysis
+ yield aoi_scan_path_analyzer_module_path, aoi_scan_path_analyzer.analysis()
def as_dict(self) -> dict:
"""Export ArFrame attributes as dictionary.
diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py
index 902a46b..2143a78 100644
--- a/src/argaze/GazeFeatures.py
+++ b/src/argaze/GazeFeatures.py
@@ -835,8 +835,8 @@ class ScanPathAnalyzer(DataFeatures.PipelineStepObject):
self.__properties = [name for (name, value) in self.__class__.__dict__.items() if isinstance(value, property)]
- @property
def analysis(self) -> DataFeatures.DataDictionary:
+ """Get all scan path analyzer analysis as data dictionary."""
analysis = {}
@@ -1197,8 +1197,8 @@ class AOIScanPathAnalyzer(DataFeatures.PipelineStepObject):
self.__properties = [name for (name, value) in self.__class__.__dict__.items() if isinstance(value, property)]
- @property
def analysis(self) -> dict:
+ """Get all aoi scan path analyzer analysis as data dictionary."""
analysis = {}