autogaita 0.0.5__tar.gz → 0.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- autogaita-0.1.0/PKG-INFO +23 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/README.md +22 -10
- autogaita-0.1.0/autogaita/__init__.py +20 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita.py +1 -2
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_dlc.py +183 -93
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_dlc_gui.py +402 -171
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_group.py +110 -94
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_group_gui.py +227 -56
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_simi.py +126 -80
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_simi_gui.py +242 -81
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_utils.py +3 -5
- autogaita-0.1.0/autogaita/batchrun_scripts/autogaita_dlc_multirun.py +123 -0
- autogaita-0.1.0/autogaita/batchrun_scripts/autogaita_dlc_singlerun.py +75 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/batchrun_scripts/autogaita_group_dlcrun.py +22 -18
- autogaita-0.1.0/autogaita/batchrun_scripts/autogaita_group_simirun.py +59 -0
- autogaita-0.1.0/autogaita/batchrun_scripts/autogaita_simi_multirun.py +95 -0
- autogaita-0.1.0/autogaita/batchrun_scripts/autogaita_simi_singlerun.py +49 -0
- autogaita-0.1.0/autogaita.egg-info/PKG-INFO +23 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita.egg-info/SOURCES.txt +6 -1
- autogaita-0.1.0/autogaita.egg-info/requires.txt +15 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/setup.py +16 -14
- autogaita-0.1.0/tests/test_dlc_approval.py +137 -0
- autogaita-0.1.0/tests/test_dlc_unit2_sc_extraction.py +250 -0
- autogaita-0.1.0/tests/test_dlc_unit3_main_analysis.py +219 -0
- autogaita-0.1.0/tests/test_group_approval.py +122 -0
- autogaita-0.1.0/tests/test_simi_approval.py +99 -0
- autogaita-0.0.5/PKG-INFO +0 -8
- autogaita-0.0.5/autogaita/__init__.py +0 -1
- autogaita-0.0.5/autogaita/batchrun_scripts/autogaita_dlc_multirun.py +0 -163
- autogaita-0.0.5/autogaita/batchrun_scripts/autogaita_dlc_singlerun.py +0 -109
- autogaita-0.0.5/autogaita/batchrun_scripts/autogaita_group_simirun.py +0 -55
- autogaita-0.0.5/autogaita/batchrun_scripts/autogaita_simi_multirun.py +0 -108
- autogaita-0.0.5/autogaita/batchrun_scripts/autogaita_simi_singlerun.py +0 -72
- autogaita-0.0.5/autogaita.egg-info/PKG-INFO +0 -8
- autogaita-0.0.5/autogaita.egg-info/requires.txt +0 -11
- {autogaita-0.0.5 → autogaita-0.1.0}/LICENSE +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/__main__.py +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_icon.icns +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_icon.ico +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/autogaita_logo.png +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita/batchrun_scripts/__init__.py +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita.egg-info/dependency_links.txt +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/autogaita.egg-info/top_level.txt +0 -0
- {autogaita-0.0.5 → autogaita-0.1.0}/setup.cfg +0 -0
autogaita-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: autogaita
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Automatic Gait Analysis in Python
|
|
5
|
+
Home-page: https://github.com/mahan-hosseini/AutoGaitA/
|
|
6
|
+
Author: Mahan Hosseini
|
|
7
|
+
License: GPLv3
|
|
8
|
+
Requires-Python: >=3.10
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Requires-Dist: customtkinter>=5.2
|
|
11
|
+
Requires-Dist: pandas>=2.0
|
|
12
|
+
Requires-Dist: numpy>=1.24
|
|
13
|
+
Requires-Dist: matplotlib>=3.7
|
|
14
|
+
Requires-Dist: scikit-learn>=1.2
|
|
15
|
+
Requires-Dist: pingouin>=0.5
|
|
16
|
+
Requires-Dist: scipy>=1.11
|
|
17
|
+
Requires-Dist: ffmpeg-python>=0.2
|
|
18
|
+
Requires-Dist: openpyxl>=3.1
|
|
19
|
+
Requires-Dist: pillow>=10.3
|
|
20
|
+
Requires-Dist: pyobjc
|
|
21
|
+
Provides-Extra: dev
|
|
22
|
+
Requires-Dist: pytest; extra == "dev"
|
|
23
|
+
Requires-Dist: hypothesis; extra == "dev"
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|

|
|
2
|
-

|
|
3
|
+
[](https://github.com/mahan-hosseini/AutoGaitA/actions/workflows/auto_test_gaita.yml)
|
|
4
|
+

|
|
5
|
+
[](https://pypi.org/project/autogaita/)
|
|
6
|
+

|
|
7
|
+
[](https://doi.org/10.1101/2024.04.14.589409)
|
|
8
|
+
|
|
4
9
|

|
|
5
10
|
# Automated Gait Analysis in Python 🐸
|
|
6
11
|
|
|
@@ -13,17 +18,18 @@
|
|
|
13
18
|
|
|
14
19
|
***Note!** Our documentation provides step-by-step walkthroughs of how to install autogaita for **[Windows](https://docs.google.com/document/d/1Y4wrrsjs0ybLDKPzE2LAatqPDq9jtwjIuk4M0jRZ3wE/edit#heading=h.28j6wu2vamre)** and **[Mac](https://docs.google.com/document/d/1Y4wrrsjs0ybLDKPzE2LAatqPDq9jtwjIuk4M0jRZ3wE/edit)***
|
|
15
20
|
|
|
16
|
-
It is strongly recommended that a separate virtual environment for AutoGaitA is created
|
|
17
|
-
|
|
18
|
-
`python -m venv env_gaita`
|
|
21
|
+
It is strongly recommended that a separate virtual environment for AutoGaitA is created (note that the approach below creates the virtual environment to your current directory):
|
|
19
22
|
|
|
20
|
-
|
|
23
|
+
- Create the virtual environment
|
|
24
|
+
- `python -m venv env_gaita`
|
|
21
25
|
|
|
22
|
-
|
|
26
|
+
- After creation, activate the virtual environment via:
|
|
27
|
+
- *Windows:* `env_gaita\Scripts\activate`
|
|
28
|
+
- *Mac:* `source env_gaita/bin/activate`
|
|
23
29
|
|
|
24
|
-
|
|
30
|
+
- Once activated, install AutoGaitA in the virtual environment via pip: `pip install autogaita`.
|
|
25
31
|
|
|
26
|
-
`python -m autogaita
|
|
32
|
+
- Access the main user interface via `python -m autogaita`.
|
|
27
33
|
|
|
28
34
|
## Tutorials and Examples
|
|
29
35
|
|
|
@@ -31,6 +37,8 @@ The main user interface can then be accessed via
|
|
|
31
37
|
|
|
32
38
|
**[The AutoGaitA YouTube Channel](https://youtube.com/playlist?list=PLCn5T7K_H8K56NIcEsfDK664OP7cN_Bad&si=mV5p2--nYvbofkPh) provides tutorials for file preparation and instructions on how to use AutoGaitA**
|
|
33
39
|
|
|
40
|
+
*Please note that tutorial videos might not always reflect the most up-to-date version of our toolbox, especially in the beginning when things are regularly changing. We will make sure to record new videos whenever there are major changes, though.*
|
|
41
|
+
|
|
34
42
|
### Example Data
|
|
35
43
|
We provide an example dataset in the **example data** folder of this repository, with a set of mice walking over differently wide beams and both the beam as well as body coordinates being tracked with DLC. Note that this dataset was used in our tutorial videos introducing *AutoGaitA_DLC*, *AutoGaitA_Group* and in our video explaining file preparation for *AutoGaitA_DLC*. We further provide a **group** folder there that can be used alongside the *AutoGaitA_Group* tutorial to confirm that users generate the same set of results following our instructions.
|
|
36
44
|
|
|
@@ -54,9 +62,13 @@ By default, *AutoGaitA DLC* and *AutoGaitA Simi* implement standard values for m
|
|
|
54
62
|
- [Documentation - AutoGaitA DLC](https://docs.google.com/document/d/1Y4wrrsjs0ybLDKPzE2LAatqPDq9jtwjIuk4M0jRZ3wE/edit#heading=h.20bg7b7ymt0b)
|
|
55
63
|
- [Documentation - AutoGaitA Simi](https://docs.google.com/document/d/1Y4wrrsjs0ybLDKPzE2LAatqPDq9jtwjIuk4M0jRZ3wE/edit#heading=h.uz61bpmua7qz)
|
|
56
64
|
|
|
65
|
+
## Reference
|
|
66
|
+
If you use this code or data please [cite our preprint](https://www.biorxiv.org/content/10.1101/2024.04.14.589409v1).
|
|
67
|
+
|
|
57
68
|
## License
|
|
69
|
+
AutoGaitA is licensed under [GPL v3.0](https://github.com/mahan-hosseini/AutoGaitA/blob/main/LICENSE) and Forschungszentrum Jülich GmbH holds all copyrights.
|
|
58
70
|
|
|
59
|
-
AutoGaitA is
|
|
71
|
+
The AutoGaitA software is provided without warranty of any kind, express or implied, including, but not limited to, the implied warranty of fitness for a particular purpose.
|
|
60
72
|
|
|
61
73
|
## Authors
|
|
62
74
|
Mahan Hosseini
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# main gui
|
|
2
|
+
from .autogaita import gui # autogaita.gui()
|
|
3
|
+
|
|
4
|
+
# 3 sub-guis
|
|
5
|
+
from .autogaita_dlc_gui import dlc_gui # autogaita.dlc_gui()
|
|
6
|
+
from .autogaita_simi_gui import simi_gui # autogaita.simi_gui()
|
|
7
|
+
from .autogaita_group_gui import group_gui # autogaita.group_gui()
|
|
8
|
+
|
|
9
|
+
# 3 main functions
|
|
10
|
+
from .autogaita_dlc import dlc # autogaita.dlc(info, folderinfo, cfg)
|
|
11
|
+
from .autogaita_simi import simi # autogaita.simi(info, folderinfo, cfg)
|
|
12
|
+
from .autogaita_group import group # autogaita.group(folderinfo, cfg)
|
|
13
|
+
|
|
14
|
+
# 6 batchrun functions - call via e.g. autogaita.dlc_singlerun()
|
|
15
|
+
from .batchrun_scripts.autogaita_dlc_singlerun import dlc_singlerun
|
|
16
|
+
from .batchrun_scripts.autogaita_dlc_multirun import dlc_multirun
|
|
17
|
+
from .batchrun_scripts.autogaita_simi_singlerun import simi_singlerun
|
|
18
|
+
from .batchrun_scripts.autogaita_simi_multirun import simi_multirun
|
|
19
|
+
from .batchrun_scripts.autogaita_group_dlcrun import group_dlcrun
|
|
20
|
+
from .batchrun_scripts.autogaita_group_simirun import group_simirun
|
|
@@ -6,7 +6,6 @@ from PIL import Image, ImageTk
|
|
|
6
6
|
from importlib import resources
|
|
7
7
|
import platform
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
# %% global constants
|
|
11
10
|
TXT_COLOR = "#ffffff" # white
|
|
12
11
|
FONT_SIZE = 20
|
|
@@ -124,7 +123,7 @@ def configure_the_icon(root):
|
|
|
124
123
|
try:
|
|
125
124
|
from Cocoa import NSApplication, NSImage
|
|
126
125
|
except ImportError:
|
|
127
|
-
print(
|
|
126
|
+
print("Unable to import pyobjc modules")
|
|
128
127
|
else:
|
|
129
128
|
with resources.path("autogaita", "autogaita_icon.icns") as icon_path:
|
|
130
129
|
ns_application = NSApplication.sharedApplication()
|