From 95857cf4f31bf529bfdd3921150262b12b444888 Mon Sep 17 00:00:00 2001 From: Théo de la Hogue Date: Mon, 22 Apr 2024 23:10:18 +0200 Subject: Moving licence string outside of doc string. --- src/argaze.test/ArUcoMarker/ArUcoBoard.py | 3 ++- src/argaze.test/ArUcoMarker/ArUcoCamera.py | 3 ++- src/argaze.test/ArUcoMarker/ArUcoDetector.py | 3 ++- src/argaze.test/ArUcoMarker/ArUcoMarker.py | 3 ++- src/argaze.test/ArUcoMarker/ArUcoMarkerDictionary.py | 3 ++- src/argaze.test/ArUcoMarker/ArUcoOpticCalibrator.py | 3 ++- src/argaze.test/ArUcoMarker/ArUcoScene.py | 3 ++- src/argaze.test/AreaOfInterest/AOI2DScene.py | 3 ++- src/argaze.test/AreaOfInterest/AOI3DScene.py | 3 ++- src/argaze.test/AreaOfInterest/AOIFeatures.py | 3 ++- src/argaze.test/DataFeatures.py | 3 ++- src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py | 3 ++- src/argaze.test/GazeAnalysis/Entropy.py | 3 ++- src/argaze.test/GazeAnalysis/ExploreExploitRatio.py | 3 ++- src/argaze.test/GazeAnalysis/KCoefficient.py | 3 ++- src/argaze.test/GazeAnalysis/LempelZivComplexity.py | 3 ++- src/argaze.test/GazeAnalysis/NGram.py | 3 ++- src/argaze.test/GazeAnalysis/NearestNeighborIndex.py | 3 ++- src/argaze.test/GazeAnalysis/TransitionMatrix.py | 3 ++- src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py | 3 ++- src/argaze.test/GazeFeatures.py | 3 ++- src/argaze.test/OpenCVCuda.py | 3 ++- src/argaze.test/PupillAnalysis/WorkloadIndex.py | 3 ++- src/argaze.test/PupillFeatures.py | 3 ++- src/argaze/ArFeatures.py | 3 ++- src/argaze/ArUcoMarker/ArUcoBoard.py | 3 ++- src/argaze/ArUcoMarker/ArUcoCamera.py | 3 ++- src/argaze/ArUcoMarker/ArUcoDetector.py | 3 ++- src/argaze/ArUcoMarker/ArUcoMarker.py | 3 ++- src/argaze/ArUcoMarker/ArUcoMarkerDictionary.py | 3 ++- src/argaze/ArUcoMarker/ArUcoMarkerGroup.py | 3 ++- src/argaze/ArUcoMarker/ArUcoOpticCalibrator.py | 3 ++- src/argaze/ArUcoMarker/ArUcoScene.py | 3 ++- src/argaze/AreaOfInterest/AOI2DScene.py | 3 ++- src/argaze/AreaOfInterest/AOI3DScene.py | 3 ++- src/argaze/AreaOfInterest/AOIFeatures.py | 3 ++- src/argaze/DataFeatures.py | 3 ++- src/argaze/GazeAnalysis/Basic.py | 4 ++-- src/argaze/GazeAnalysis/DeviationCircleCoverage.py | 4 ++-- src/argaze/GazeAnalysis/DispersionThresholdIdentification.py | 4 ++-- src/argaze/GazeAnalysis/Entropy.py | 4 ++-- src/argaze/GazeAnalysis/ExploreExploitRatio.py | 4 ++-- src/argaze/GazeAnalysis/FocusPointInside.py | 4 ++-- src/argaze/GazeAnalysis/KCoefficient.py | 4 ++-- src/argaze/GazeAnalysis/LempelZivComplexity.py | 4 ++-- src/argaze/GazeAnalysis/LinearRegression.py | 4 ++-- src/argaze/GazeAnalysis/NGram.py | 4 ++-- src/argaze/GazeAnalysis/NearestNeighborIndex.py | 4 ++-- src/argaze/GazeAnalysis/TransitionMatrix.py | 4 ++-- src/argaze/GazeAnalysis/VelocityThresholdIdentification.py | 3 ++- src/argaze/GazeFeatures.py | 3 ++- src/argaze/PupilAnalysis/WorkloadIndex.py | 3 ++- src/argaze/PupilFeatures.py | 3 ++- src/argaze/__main__.py | 5 +++-- src/argaze/utils/UtilsFeatures.py | 3 ++- src/argaze/utils/aruco_marker_group_export.py | 3 ++- src/argaze/utils/contexts/OpenCV.py | 3 ++- src/argaze/utils/contexts/PupilLabs.py | 3 ++- src/argaze/utils/contexts/Random.py | 3 ++- src/argaze/utils/contexts/TobiiProGlasses2.py | 3 ++- src/argaze/utils/demo/opencv_window_context.json | 7 +------ src/argaze/utils/demo/pupillabs_live_stream_context.json | 7 +------ src/argaze/utils/demo/random_context.json | 7 +------ src/argaze/utils/demo/recorders.py | 3 ++- src/argaze/utils/demo/tobii_live_stream_context.json | 8 +------- src/argaze/utils/demo/tobii_post_processing_context.json | 7 +------ 66 files changed, 128 insertions(+), 105 deletions(-) diff --git a/src/argaze.test/ArUcoMarker/ArUcoBoard.py b/src/argaze.test/ArUcoMarker/ArUcoBoard.py index b20be13..1f47985 100644 --- a/src/argaze.test/ArUcoMarker/ArUcoBoard.py +++ b/src/argaze.test/ArUcoMarker/ArUcoBoard.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/ArUcoMarker/ArUcoCamera.py b/src/argaze.test/ArUcoMarker/ArUcoCamera.py index eb930ab..76b567e 100644 --- a/src/argaze.test/ArUcoMarker/ArUcoCamera.py +++ b/src/argaze.test/ArUcoMarker/ArUcoCamera.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/ArUcoMarker/ArUcoDetector.py b/src/argaze.test/ArUcoMarker/ArUcoDetector.py index 40b7d00..9e52886 100644 --- a/src/argaze.test/ArUcoMarker/ArUcoDetector.py +++ b/src/argaze.test/ArUcoMarker/ArUcoDetector.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/ArUcoMarker/ArUcoMarker.py b/src/argaze.test/ArUcoMarker/ArUcoMarker.py index 6518c8c..2a7464f 100644 --- a/src/argaze.test/ArUcoMarker/ArUcoMarker.py +++ b/src/argaze.test/ArUcoMarker/ArUcoMarker.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/ArUcoMarker/ArUcoMarkerDictionary.py b/src/argaze.test/ArUcoMarker/ArUcoMarkerDictionary.py index 2f80a67..12b841c 100644 --- a/src/argaze.test/ArUcoMarker/ArUcoMarkerDictionary.py +++ b/src/argaze.test/ArUcoMarker/ArUcoMarkerDictionary.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/ArUcoMarker/ArUcoOpticCalibrator.py b/src/argaze.test/ArUcoMarker/ArUcoOpticCalibrator.py index d019a5d..5af732b 100644 --- a/src/argaze.test/ArUcoMarker/ArUcoOpticCalibrator.py +++ b/src/argaze.test/ArUcoMarker/ArUcoOpticCalibrator.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/ArUcoMarker/ArUcoScene.py b/src/argaze.test/ArUcoMarker/ArUcoScene.py index 67cb668..fb3fd89 100644 --- a/src/argaze.test/ArUcoMarker/ArUcoScene.py +++ b/src/argaze.test/ArUcoMarker/ArUcoScene.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/AreaOfInterest/AOI2DScene.py b/src/argaze.test/AreaOfInterest/AOI2DScene.py index ae9e6b2..acb20b0 100644 --- a/src/argaze.test/AreaOfInterest/AOI2DScene.py +++ b/src/argaze.test/AreaOfInterest/AOI2DScene.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/AreaOfInterest/AOI3DScene.py b/src/argaze.test/AreaOfInterest/AOI3DScene.py index 591b5df..f8b7356 100644 --- a/src/argaze.test/AreaOfInterest/AOI3DScene.py +++ b/src/argaze.test/AreaOfInterest/AOI3DScene.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/AreaOfInterest/AOIFeatures.py b/src/argaze.test/AreaOfInterest/AOIFeatures.py index 25fdca9..ba4541c 100644 --- a/src/argaze.test/AreaOfInterest/AOIFeatures.py +++ b/src/argaze.test/AreaOfInterest/AOIFeatures.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/DataFeatures.py b/src/argaze.test/DataFeatures.py index a0031bc..04dfe9a 100644 --- a/src/argaze.test/DataFeatures.py +++ b/src/argaze.test/DataFeatures.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py index 9326060..c141c81 100644 --- a/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py +++ b/src/argaze.test/GazeAnalysis/DispersionThresholdIdentification.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/Entropy.py b/src/argaze.test/GazeAnalysis/Entropy.py index 0bfd7b8..4b81130 100644 --- a/src/argaze.test/GazeAnalysis/Entropy.py +++ b/src/argaze.test/GazeAnalysis/Entropy.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py b/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py index 0c2eb96..8247242 100644 --- a/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py +++ b/src/argaze.test/GazeAnalysis/ExploreExploitRatio.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/KCoefficient.py b/src/argaze.test/GazeAnalysis/KCoefficient.py index 3c79cc3..e2e4e05 100644 --- a/src/argaze.test/GazeAnalysis/KCoefficient.py +++ b/src/argaze.test/GazeAnalysis/KCoefficient.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/LempelZivComplexity.py b/src/argaze.test/GazeAnalysis/LempelZivComplexity.py index 91d7df1..715c724 100644 --- a/src/argaze.test/GazeAnalysis/LempelZivComplexity.py +++ b/src/argaze.test/GazeAnalysis/LempelZivComplexity.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/NGram.py b/src/argaze.test/GazeAnalysis/NGram.py index 69c06cd..b36a7da 100644 --- a/src/argaze.test/GazeAnalysis/NGram.py +++ b/src/argaze.test/GazeAnalysis/NGram.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py b/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py index 3325a2a..1a9d823 100644 --- a/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py +++ b/src/argaze.test/GazeAnalysis/NearestNeighborIndex.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/TransitionMatrix.py b/src/argaze.test/GazeAnalysis/TransitionMatrix.py index 5aeef94..b11faba 100644 --- a/src/argaze.test/GazeAnalysis/TransitionMatrix.py +++ b/src/argaze.test/GazeAnalysis/TransitionMatrix.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py b/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py index 39a8834..e7431b5 100644 --- a/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py +++ b/src/argaze.test/GazeAnalysis/VelocityThresholdIdentification.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/GazeFeatures.py b/src/argaze.test/GazeFeatures.py index 74cbc12..2740fe5 100644 --- a/src/argaze.test/GazeFeatures.py +++ b/src/argaze.test/GazeFeatures.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/OpenCVCuda.py b/src/argaze.test/OpenCVCuda.py index e552436..5419b33 100644 --- a/src/argaze.test/OpenCVCuda.py +++ b/src/argaze.test/OpenCVCuda.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/PupillAnalysis/WorkloadIndex.py b/src/argaze.test/PupillAnalysis/WorkloadIndex.py index ebb043a..36cb1e1 100644 --- a/src/argaze.test/PupillAnalysis/WorkloadIndex.py +++ b/src/argaze.test/PupillAnalysis/WorkloadIndex.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze.test/PupillFeatures.py b/src/argaze.test/PupillFeatures.py index 085973b..391326c 100644 --- a/src/argaze.test/PupillFeatures.py +++ b/src/argaze.test/PupillFeatures.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArFeatures.py b/src/argaze/ArFeatures.py index 7ea7f2b..ab30e01 100644 --- a/src/argaze/ArFeatures.py +++ b/src/argaze/ArFeatures.py @@ -1,5 +1,6 @@ -"""ArGaze pipeline assets. +"""ArGaze pipeline assets.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoBoard.py b/src/argaze/ArUcoMarker/ArUcoBoard.py index ce8097f..6c7b9bc 100644 --- a/src/argaze/ArUcoMarker/ArUcoBoard.py +++ b/src/argaze/ArUcoMarker/ArUcoBoard.py @@ -1,5 +1,6 @@ -"""Calibration chess board with ArUco markers inside. +"""Calibration chess board with ArUco markers inside.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoCamera.py b/src/argaze/ArUcoMarker/ArUcoCamera.py index 2402df0..fea01d6 100644 --- a/src/argaze/ArUcoMarker/ArUcoCamera.py +++ b/src/argaze/ArUcoMarker/ArUcoCamera.py @@ -1,5 +1,6 @@ -"""ArCamera based of ArUco markers technology. +"""ArCamera based of ArUco markers technology.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoDetector.py b/src/argaze/ArUcoMarker/ArUcoDetector.py index daa0f9d..1af5e7d 100644 --- a/src/argaze/ArUcoMarker/ArUcoDetector.py +++ b/src/argaze/ArUcoMarker/ArUcoDetector.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoMarker.py b/src/argaze/ArUcoMarker/ArUcoMarker.py index fdc8071..bfd6350 100644 --- a/src/argaze/ArUcoMarker/ArUcoMarker.py +++ b/src/argaze/ArUcoMarker/ArUcoMarker.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoMarkerDictionary.py b/src/argaze/ArUcoMarker/ArUcoMarkerDictionary.py index ed423f1..c51bc44 100644 --- a/src/argaze/ArUcoMarker/ArUcoMarkerDictionary.py +++ b/src/argaze/ArUcoMarker/ArUcoMarkerDictionary.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoMarkerGroup.py b/src/argaze/ArUcoMarker/ArUcoMarkerGroup.py index b013829..1cca6c4 100644 --- a/src/argaze/ArUcoMarker/ArUcoMarkerGroup.py +++ b/src/argaze/ArUcoMarker/ArUcoMarkerGroup.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoOpticCalibrator.py b/src/argaze/ArUcoMarker/ArUcoOpticCalibrator.py index 468e64a..6b2a74c 100644 --- a/src/argaze/ArUcoMarker/ArUcoOpticCalibrator.py +++ b/src/argaze/ArUcoMarker/ArUcoOpticCalibrator.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/ArUcoMarker/ArUcoScene.py b/src/argaze/ArUcoMarker/ArUcoScene.py index a4726fa..90ac0c5 100644 --- a/src/argaze/ArUcoMarker/ArUcoScene.py +++ b/src/argaze/ArUcoMarker/ArUcoScene.py @@ -1,5 +1,6 @@ -"""ArScene based of ArUco markers technology. +"""ArScene based of ArUco markers technology.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/AreaOfInterest/AOI2DScene.py b/src/argaze/AreaOfInterest/AOI2DScene.py index 0b71d7e..9c74637 100644 --- a/src/argaze/AreaOfInterest/AOI2DScene.py +++ b/src/argaze/AreaOfInterest/AOI2DScene.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/AreaOfInterest/AOI3DScene.py b/src/argaze/AreaOfInterest/AOI3DScene.py index 955b910..d50f9ff 100644 --- a/src/argaze/AreaOfInterest/AOI3DScene.py +++ b/src/argaze/AreaOfInterest/AOI3DScene.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/AreaOfInterest/AOIFeatures.py b/src/argaze/AreaOfInterest/AOIFeatures.py index 9ab22d3..065fd64 100644 --- a/src/argaze/AreaOfInterest/AOIFeatures.py +++ b/src/argaze/AreaOfInterest/AOIFeatures.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/DataFeatures.py b/src/argaze/DataFeatures.py index 6f08f30..07f2980 100644 --- a/src/argaze/DataFeatures.py +++ b/src/argaze/DataFeatures.py @@ -1,5 +1,6 @@ -"""Miscellaneous data features. +"""Miscellaneous data features.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/Basic.py b/src/argaze/GazeAnalysis/Basic.py index cfe3eeb..f815cfa 100644 --- a/src/argaze/GazeAnalysis/Basic.py +++ b/src/argaze/GazeAnalysis/Basic.py @@ -1,6 +1,6 @@ -"""Basic analysis module. - +"""Basic analysis module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/DeviationCircleCoverage.py b/src/argaze/GazeAnalysis/DeviationCircleCoverage.py index 5b51bbd..2138899 100644 --- a/src/argaze/GazeAnalysis/DeviationCircleCoverage.py +++ b/src/argaze/GazeAnalysis/DeviationCircleCoverage.py @@ -1,6 +1,6 @@ -"""Module for matching algorithm based on fixation's deviation circle coverage over AOI. - +"""Module for matching algorithm based on fixation's deviation circle coverage over AOI.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py index eb90a2a..cd31b04 100644 --- a/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py +++ b/src/argaze/GazeAnalysis/DispersionThresholdIdentification.py @@ -1,6 +1,6 @@ -"""Dispersion threshold identification (I-DT) module. - +"""Dispersion threshold identification (I-DT) module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/Entropy.py b/src/argaze/GazeAnalysis/Entropy.py index 2f98d2c..dfed82f 100644 --- a/src/argaze/GazeAnalysis/Entropy.py +++ b/src/argaze/GazeAnalysis/Entropy.py @@ -1,6 +1,6 @@ -"""Stationary and transition entropy module. - +"""Stationary and transition entropy module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/ExploreExploitRatio.py b/src/argaze/GazeAnalysis/ExploreExploitRatio.py index b907a5c..d2d40d6 100644 --- a/src/argaze/GazeAnalysis/ExploreExploitRatio.py +++ b/src/argaze/GazeAnalysis/ExploreExploitRatio.py @@ -1,6 +1,6 @@ -"""Explore/Explore ratio module. - +"""Explore/Explore ratio module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/FocusPointInside.py b/src/argaze/GazeAnalysis/FocusPointInside.py index 361ea75..be18e18 100644 --- a/src/argaze/GazeAnalysis/FocusPointInside.py +++ b/src/argaze/GazeAnalysis/FocusPointInside.py @@ -1,6 +1,6 @@ -"""Module for matching algorithm based on fixation's focus point - +"""Module for matching algorithm based on fixation's focus point""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/KCoefficient.py b/src/argaze/GazeAnalysis/KCoefficient.py index 9e2f317..f9218cb 100644 --- a/src/argaze/GazeAnalysis/KCoefficient.py +++ b/src/argaze/GazeAnalysis/KCoefficient.py @@ -1,6 +1,6 @@ -"""K coefficient and K-modified coefficient module. - +"""K coefficient and K-modified coefficient module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/LempelZivComplexity.py b/src/argaze/GazeAnalysis/LempelZivComplexity.py index 696d343..736fc39 100644 --- a/src/argaze/GazeAnalysis/LempelZivComplexity.py +++ b/src/argaze/GazeAnalysis/LempelZivComplexity.py @@ -1,6 +1,6 @@ -"""Lempel-Ziv complexity module. - +"""Lempel-Ziv complexity module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/LinearRegression.py b/src/argaze/GazeAnalysis/LinearRegression.py index df3fab2..96f5fd8 100644 --- a/src/argaze/GazeAnalysis/LinearRegression.py +++ b/src/argaze/GazeAnalysis/LinearRegression.py @@ -1,6 +1,6 @@ -"""Module for gaze position calibration based on linear regression. - +"""Module for gaze position calibration based on linear regression.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/NGram.py b/src/argaze/GazeAnalysis/NGram.py index fc7f2e4..af34dea 100644 --- a/src/argaze/GazeAnalysis/NGram.py +++ b/src/argaze/GazeAnalysis/NGram.py @@ -1,6 +1,6 @@ -"""N-Gram module. - +"""N-Gram module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/NearestNeighborIndex.py b/src/argaze/GazeAnalysis/NearestNeighborIndex.py index 98a95a1..dfae1d4 100644 --- a/src/argaze/GazeAnalysis/NearestNeighborIndex.py +++ b/src/argaze/GazeAnalysis/NearestNeighborIndex.py @@ -1,6 +1,6 @@ -"""Nearest Neighbor Index module. - +"""Nearest Neighbor Index module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/TransitionMatrix.py b/src/argaze/GazeAnalysis/TransitionMatrix.py index 567bd39..b319b42 100644 --- a/src/argaze/GazeAnalysis/TransitionMatrix.py +++ b/src/argaze/GazeAnalysis/TransitionMatrix.py @@ -1,6 +1,6 @@ -"""Transition matrix probabilities and density module. - +"""Transition matrix probabilities and density module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py b/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py index f5fb069..10a7ceb 100644 --- a/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py +++ b/src/argaze/GazeAnalysis/VelocityThresholdIdentification.py @@ -1,5 +1,6 @@ -"""Velocity threshold identification (I-VT) module. +"""Velocity threshold identification (I-VT) module.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/GazeFeatures.py b/src/argaze/GazeFeatures.py index 43c6cc7..286a554 100644 --- a/src/argaze/GazeFeatures.py +++ b/src/argaze/GazeFeatures.py @@ -1,5 +1,6 @@ -"""Generic gaze data and class definitions. +"""Generic gaze data and class definitions.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/PupilAnalysis/WorkloadIndex.py b/src/argaze/PupilAnalysis/WorkloadIndex.py index 00995e9..e450d52 100644 --- a/src/argaze/PupilAnalysis/WorkloadIndex.py +++ b/src/argaze/PupilAnalysis/WorkloadIndex.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/PupilFeatures.py b/src/argaze/PupilFeatures.py index e73176d..be13dbb 100644 --- a/src/argaze/PupilFeatures.py +++ b/src/argaze/PupilFeatures.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/__main__.py b/src/argaze/__main__.py index e598384..5c16f39 100644 --- a/src/argaze/__main__.py +++ b/src/argaze/__main__.py @@ -1,5 +1,6 @@ -"""Load and execute ArContext configuration. +"""Load and execute ArContext configuration.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later @@ -31,7 +32,7 @@ import cv2 parser = argparse.ArgumentParser(description=__doc__.split('-')[0]) parser.add_argument('context_file', metavar='CONTEXT_FILE', type=str, help='JSON context filepath') parser.add_argument('-v', '--verbose', action='store_true', default=False, help='enable verbose mode to print information in console') -parser.add_argument('-p', '--pipe_path', metavar='PIPE_PATH', type=str, default=None, help='enable pipe communication at given path to execute external commands') +parser.add_argument('-p', '--pipe_path', metavar='PIPE_PATH', type=str, default=None, help='enable pipe communication to execute external commands') args = parser.parse_args() diff --git a/src/argaze/utils/UtilsFeatures.py b/src/argaze/utils/UtilsFeatures.py index 2fc7806..ccee8a2 100644 --- a/src/argaze/utils/UtilsFeatures.py +++ b/src/argaze/utils/UtilsFeatures.py @@ -1,5 +1,6 @@ -"""Miscellaneous class and functions used in utils script. +"""Miscellaneous class and functions used in utils script.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/utils/aruco_marker_group_export.py b/src/argaze/utils/aruco_marker_group_export.py index 961d12b..5503747 100644 --- a/src/argaze/utils/aruco_marker_group_export.py +++ b/src/argaze/utils/aruco_marker_group_export.py @@ -1,7 +1,8 @@ #!/usr/bin/env python -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/utils/contexts/OpenCV.py b/src/argaze/utils/contexts/OpenCV.py index 20be1a4..6a79b57 100644 --- a/src/argaze/utils/contexts/OpenCV.py +++ b/src/argaze/utils/contexts/OpenCV.py @@ -1,5 +1,6 @@ -"""Define OpenCV window display context +"""Define OpenCV window display context""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/utils/contexts/PupilLabs.py b/src/argaze/utils/contexts/PupilLabs.py index 3d265e4..d5a4319 100644 --- a/src/argaze/utils/contexts/PupilLabs.py +++ b/src/argaze/utils/contexts/PupilLabs.py @@ -1,6 +1,7 @@ """Handle network connection to Pupil Labs devices. Tested with Pupil Invisible. - Based on Pupil Labs' Realtime Python API. + Based on Pupil Labs' Realtime Python API.""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/utils/contexts/Random.py b/src/argaze/utils/contexts/Random.py index f8890aa..3409dd9 100644 --- a/src/argaze/utils/contexts/Random.py +++ b/src/argaze/utils/contexts/Random.py @@ -1,5 +1,6 @@ -"""Define eye tracking data file context +"""Define eye tracking data file context""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/utils/contexts/TobiiProGlasses2.py b/src/argaze/utils/contexts/TobiiProGlasses2.py index db99e4d..57668c6 100644 --- a/src/argaze/utils/contexts/TobiiProGlasses2.py +++ b/src/argaze/utils/contexts/TobiiProGlasses2.py @@ -1,6 +1,7 @@ """ Handle network connection to Tobii Pro Glasses 2 device. - It is a major rewrite of [tobiiglassesctrl/controller.py](https://github.com/ddetommaso/TobiiGlassesPyController/blob/master/tobiiglassesctrl/controller.py). + It is a major rewrite of [tobiiglassesctrl/controller.py](https://github.com/ddetommaso/TobiiGlassesPyController/blob/master/tobiiglassesctrl/controller.py).""" +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/utils/demo/opencv_window_context.json b/src/argaze/utils/demo/opencv_window_context.json index d10ac01..d589665 100644 --- a/src/argaze/utils/demo/opencv_window_context.json +++ b/src/argaze/utils/demo/opencv_window_context.json @@ -1,11 +1,6 @@ { "argaze.utils.contexts.OpenCV.Window" : { "name": "OpenCV Window", - "pipeline": "gaze_analysis_pipeline.json", - "catch_exceptions": true, - "image_parameters": { - "draw_times": true, - "draw_exceptions": true - } + "pipeline": "gaze_analysis_pipeline.json" } } \ No newline at end of file diff --git a/src/argaze/utils/demo/pupillabs_live_stream_context.json b/src/argaze/utils/demo/pupillabs_live_stream_context.json index df1e988..bcb7263 100644 --- a/src/argaze/utils/demo/pupillabs_live_stream_context.json +++ b/src/argaze/utils/demo/pupillabs_live_stream_context.json @@ -1,11 +1,6 @@ { "argaze.utils.contexts.PupilLabs.LiveStream" : { "name": "PupilLabs", - "pipeline": "aruco_markers_pipeline.json", - "catch_exceptions": true, - "image_parameters": { - "draw_times": true, - "draw_exceptions": true - } + "pipeline": "aruco_markers_pipeline.json" } } \ No newline at end of file diff --git a/src/argaze/utils/demo/random_context.json b/src/argaze/utils/demo/random_context.json index bb18a41..7f33579 100644 --- a/src/argaze/utils/demo/random_context.json +++ b/src/argaze/utils/demo/random_context.json @@ -2,11 +2,6 @@ "argaze.utils.contexts.Random.GazePositionGenerator" : { "name": "Random gaze position generator", "range": [1920, 1149], - "pipeline": "gaze_analysis_pipeline.json", - "catch_exceptions": true, - "image_parameters": { - "draw_times": true, - "draw_exceptions": true - } + "pipeline": "gaze_analysis_pipeline.json" } } \ No newline at end of file diff --git a/src/argaze/utils/demo/recorders.py b/src/argaze/utils/demo/recorders.py index 679e6f7..b958cd3 100644 --- a/src/argaze/utils/demo/recorders.py +++ b/src/argaze/utils/demo/recorders.py @@ -1,5 +1,6 @@ -""" +""" """ +""" This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later diff --git a/src/argaze/utils/demo/tobii_live_stream_context.json b/src/argaze/utils/demo/tobii_live_stream_context.json index db021de..6950617 100644 --- a/src/argaze/utils/demo/tobii_live_stream_context.json +++ b/src/argaze/utils/demo/tobii_live_stream_context.json @@ -13,12 +13,6 @@ "sys_et_freq": 50, "sys_mems_freq": 100 }, - "pipeline": "aruco_markers_pipeline.json", - "catch_exceptions": true, - "image_parameters": { - "draw_something": false, - "draw_times": true, - "draw_exceptions": true - } + "pipeline": "aruco_markers_pipeline.json" } } \ No newline at end of file diff --git a/src/argaze/utils/demo/tobii_post_processing_context.json b/src/argaze/utils/demo/tobii_post_processing_context.json index fc05541..7a73512 100644 --- a/src/argaze/utils/demo/tobii_post_processing_context.json +++ b/src/argaze/utils/demo/tobii_post_processing_context.json @@ -2,11 +2,6 @@ "argaze.utils.contexts.TobiiProGlasses2.PostProcessing" : { "name": "Tobii Pro Glasses 2 post-processing", "segment": "./src/argaze/utils/demo/tobii_record/segments/1", - "pipeline": "aruco_markers_pipeline.json", - "catch_exceptions": true, - "image_parameters": { - "draw_times": true, - "draw_exceptions": true - } + "pipeline": "aruco_markers_pipeline.json" } } \ No newline at end of file -- cgit v1.1