aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThéo de la Hogue2024-04-03 11:16:04 +0200
committerThéo de la Hogue2024-04-03 11:16:04 +0200
commit9a979238fceb86d3a59a6f2fa1f9146b1313a33b (patch)
tree563a2a9b4f8dc32805335441cbf0c7308e4b066b /src
parent45aedc77e26c1c99061da6ea923ed11b36537829 (diff)
downloadargaze-9a979238fceb86d3a59a6f2fa1f9146b1313a33b.zip
argaze-9a979238fceb86d3a59a6f2fa1f9146b1313a33b.tar.gz
argaze-9a979238fceb86d3a59a6f2fa1f9146b1313a33b.tar.bz2
argaze-9a979238fceb86d3a59a6f2fa1f9146b1313a33b.tar.xz
Downcasing function names.
Diffstat (limited to 'src')
-rw-r--r--src/argaze.test/GazeAnalysis/Entropy.py2
-rw-r--r--src/argaze.test/GazeAnalysis/ExploreExploitRatio.py2
-rw-r--r--src/argaze.test/GazeAnalysis/KCoefficient.py2
-rw-r--r--src/argaze.test/GazeAnalysis/LempelZivComplexity.py2
-rw-r--r--src/argaze.test/GazeAnalysis/NGram.py2
-rw-r--r--src/argaze.test/GazeAnalysis/NearestNeighborIndex.py2
-rw-r--r--src/argaze.test/GazeAnalysis/TransitionMatrix.py2
-rw-r--r--src/argaze/utils/UtilsFeatures.py4
8 files changed, 9 insertions, 9 deletions
diff --git a/src/argaze.test/GazeAnalysis/Entropy.py b/src/argaze.test/GazeAnalysis/Entropy.py
index 346b458..2b09b27 100644
--- a/src/argaze.test/GazeAnalysis/Entropy.py
+++ b/src/argaze.test/GazeAnalysis/Entropy.py
@@ -22,7 +22,7 @@ from argaze import GazeFeatures
from argaze.GazeAnalysis import Entropy, TransitionMatrix
from argaze.utils import UtilsFeatures
-GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures')
+GazeFeaturesTest = UtilsFeatures.import_from_test_package('GazeFeatures')
class TestAOIScanPathAnalyzer(unittest.TestCase):
"""Test AOIScanPathAnalyzer class."""
diff --git a/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py b/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py
index 836edbf..ceef343 100644
--- a/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py
+++ b/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py
@@ -22,7 +22,7 @@ from argaze import GazeFeatures
from argaze.GazeAnalysis import ExploreExploitRatio
from argaze.utils import UtilsFeatures
-GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures')
+GazeFeaturesTest = UtilsFeatures.import_from_test_package('GazeFeatures')
class TestScanPathAnalyzer(unittest.TestCase):
"""Test ScanPathAnalyzer class."""
diff --git a/src/argaze.test/GazeAnalysis/KCoefficient.py b/src/argaze.test/GazeAnalysis/KCoefficient.py
index 83768c3..d6af6b6 100644
--- a/src/argaze.test/GazeAnalysis/KCoefficient.py
+++ b/src/argaze.test/GazeAnalysis/KCoefficient.py
@@ -22,7 +22,7 @@ from argaze import GazeFeatures
from argaze.GazeAnalysis import KCoefficient
from argaze.utils import UtilsFeatures
-GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures')
+GazeFeaturesTest = UtilsFeatures.import_from_test_package('GazeFeatures')
class TestScanPathAnalyzer(unittest.TestCase):
"""Test ScanPathAnalyzer class."""
diff --git a/src/argaze.test/GazeAnalysis/LempelZivComplexity.py b/src/argaze.test/GazeAnalysis/LempelZivComplexity.py
index b827d77..13e44c0 100644
--- a/src/argaze.test/GazeAnalysis/LempelZivComplexity.py
+++ b/src/argaze.test/GazeAnalysis/LempelZivComplexity.py
@@ -22,7 +22,7 @@ from argaze import GazeFeatures
from argaze.GazeAnalysis import LempelZivComplexity
from argaze.utils import UtilsFeatures
-GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures')
+GazeFeaturesTest = UtilsFeatures.import_from_test_package('GazeFeatures')
class TestAOIScanPathAnalyzer(unittest.TestCase):
"""Test AOIScanPathAnalyzer class."""
diff --git a/src/argaze.test/GazeAnalysis/NGram.py b/src/argaze.test/GazeAnalysis/NGram.py
index 7dc0cc7..54986fb 100644
--- a/src/argaze.test/GazeAnalysis/NGram.py
+++ b/src/argaze.test/GazeAnalysis/NGram.py
@@ -22,7 +22,7 @@ from argaze import GazeFeatures
from argaze.GazeAnalysis import NGram
from argaze.utils import UtilsFeatures
-GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures')
+GazeFeaturesTest = UtilsFeatures.import_from_test_package('GazeFeatures')
class TestAOIScanPathAnalyzer(unittest.TestCase):
"""Test AOIScanPathAnalyzer class."""
diff --git a/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py b/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py
index 87b5bd0..080a28c 100644
--- a/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py
+++ b/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py
@@ -22,7 +22,7 @@ from argaze import GazeFeatures
from argaze.GazeAnalysis import NearestNeighborIndex
from argaze.utils import UtilsFeatures
-GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures')
+GazeFeaturesTest = UtilsFeatures.import_from_test_package('GazeFeatures')
class TestScanPathAnalyzer(unittest.TestCase):
"""Test ScanPathAnalyzer class."""
diff --git a/src/argaze.test/GazeAnalysis/TransitionMatrix.py b/src/argaze.test/GazeAnalysis/TransitionMatrix.py
index 88bc133..c1d3ee2 100644
--- a/src/argaze.test/GazeAnalysis/TransitionMatrix.py
+++ b/src/argaze.test/GazeAnalysis/TransitionMatrix.py
@@ -22,7 +22,7 @@ from argaze import GazeFeatures
from argaze.GazeAnalysis import TransitionMatrix
from argaze.utils import UtilsFeatures
-GazeFeaturesTest = UtilsFeatures.importFromTestPackage('GazeFeatures')
+GazeFeaturesTest = UtilsFeatures.import_from_test_package('GazeFeatures')
class TestAOIScanPathAnalyzer(unittest.TestCase):
"""Test AOIScanPathAnalyzer class."""
diff --git a/src/argaze/utils/UtilsFeatures.py b/src/argaze/utils/UtilsFeatures.py
index 05821b1..d9d6c41 100644
--- a/src/argaze/utils/UtilsFeatures.py
+++ b/src/argaze/utils/UtilsFeatures.py
@@ -27,7 +27,7 @@ from argaze import DataFeatures
import numpy
import cv2
-def printProgressBar (iteration:int, total:int, prefix:str = '', suffix:str = '', decimals:int = 1, length:int = 100, fill:str = '█', printEnd:str = "\r"):
+def print_progress_bar (iteration:int, total:int, prefix:str = '', suffix:str = '', decimals:int = 1, length:int = 100, fill:str = '█', printEnd:str = "\r"):
"""
Print iterations progress.
Call in a loop to create terminal progress bar.
@@ -51,7 +51,7 @@ def printProgressBar (iteration:int, total:int, prefix:str = '', suffix:str = ''
if iteration == total:
print()
-def importFromTestPackage(module: str) -> types.ModuleType:
+def import_from_test_package(module: str) -> types.ModuleType:
"""
Import module from ArGaze test package.