c3d-parser 1.2.0__tar.gz → 1.2.2__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.
- {c3d_parser-1.2.0/src/c3d_parser.egg-info → c3d_parser-1.2.2}/PKG-INFO +2 -2
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/requirements.txt +1 -1
- c3d_parser-1.2.2/src/c3d_parser/__init__.py +2 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/core/c3d_parser.py +6 -3
- {c3d_parser-1.2.0 → c3d_parser-1.2.2/src/c3d_parser.egg-info}/PKG-INFO +2 -2
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser.egg-info/requires.txt +1 -1
- c3d_parser-1.2.0/src/c3d_parser/__init__.py +0 -2
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/LICENSE +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/README.md +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/pyproject.toml +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/setup.cfg +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/application.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/core/c3d_patch.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/core/osim.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/core/osim_resources/external_loads_template.xml +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/core/osim_resources/ik_task_set.xml +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/core/utils.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/general.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/logging.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/marker_maps/AUC.json +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/marker_maps/FMC.json +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/marker_maps/MH.json +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/marker_maps/QCMAS.json +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/marker_maps/RBWH.json +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/marker_maps/RCH.json +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/settings/marker_maps/Sydney.json +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/splash_rc.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/splashscreen.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/dialogs/about_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/dialogs/delete_marker_set_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/dialogs/marker_set_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/dialogs/marker_set_import_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/dialogs/options_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/main_window.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/ui/resources_rc.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/ui/ui_delete_marker_set_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/ui/ui_main_window.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/ui/ui_marker_set_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/ui/ui_marker_set_import_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/ui/ui_options_dialog.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/utils.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/widgets.py +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser.egg-info/SOURCES.txt +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser.egg-info/dependency_links.txt +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser.egg-info/entry_points.txt +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser.egg-info/top_level.txt +0 -0
- {c3d_parser-1.2.0 → c3d_parser-1.2.2}/tests/test_parser.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: c3d-parser
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: C3D parser for gait data harmonisation.
|
|
5
5
|
Author-email: Timothy Salemink <tim.nicolas@outlook.com>, Sally Jack <sallyjaack@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -12,7 +12,7 @@ Requires-Dist: numpy==1.26.4
|
|
|
12
12
|
Requires-Dist: pandas
|
|
13
13
|
Requires-Dist: c3d==0.5.2
|
|
14
14
|
Requires-Dist: trc-data-reader>=0.4.1
|
|
15
|
-
Requires-Dist: opensim-model-creator==0.7.
|
|
15
|
+
Requires-Dist: opensim-model-creator==0.7.1
|
|
16
16
|
Requires-Dist: PySide6
|
|
17
17
|
Requires-Dist: matplotlib
|
|
18
18
|
Requires-Dist: mplcursors
|
|
@@ -708,13 +708,13 @@ def extract_static_data(file_path):
|
|
|
708
708
|
return None, None, None, None, None, None, None, None, None
|
|
709
709
|
|
|
710
710
|
processing_group = reader.get('PROCESSING')
|
|
711
|
-
height =
|
|
711
|
+
height = mass = asis_width = left_knee_width = right_knee_width = None
|
|
712
712
|
left_ankle_width = right_ankle_width = left_leg_length = right_leg_length = None
|
|
713
713
|
|
|
714
714
|
if 'HEIGHT' in processing_group:
|
|
715
715
|
height = reader.get('PROCESSING:Height').float_value
|
|
716
716
|
if 'BODYMASS' in processing_group:
|
|
717
|
-
|
|
717
|
+
mass = reader.get('PROCESSING:Bodymass').float_value
|
|
718
718
|
if 'INTERASISDISTANCE' in processing_group:
|
|
719
719
|
asis_width = reader.get('PROCESSING:InterAsisDistance').float_value
|
|
720
720
|
if 'LKNEEWIDTH' in processing_group:
|
|
@@ -730,7 +730,10 @@ def extract_static_data(file_path):
|
|
|
730
730
|
if 'RLEGLENGTH' in processing_group:
|
|
731
731
|
right_leg_length = reader.get('PROCESSING:RLegLength').float_value
|
|
732
732
|
|
|
733
|
-
|
|
733
|
+
if mass > 200:
|
|
734
|
+
mass = mass / 9.81
|
|
735
|
+
|
|
736
|
+
return (height, mass, asis_width, left_knee_width, right_knee_width,
|
|
734
737
|
left_ankle_width, right_ankle_width, left_leg_length, right_leg_length)
|
|
735
738
|
|
|
736
739
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: c3d-parser
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.2
|
|
4
4
|
Summary: C3D parser for gait data harmonisation.
|
|
5
5
|
Author-email: Timothy Salemink <tim.nicolas@outlook.com>, Sally Jack <sallyjaack@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -12,7 +12,7 @@ Requires-Dist: numpy==1.26.4
|
|
|
12
12
|
Requires-Dist: pandas
|
|
13
13
|
Requires-Dist: c3d==0.5.2
|
|
14
14
|
Requires-Dist: trc-data-reader>=0.4.1
|
|
15
|
-
Requires-Dist: opensim-model-creator==0.7.
|
|
15
|
+
Requires-Dist: opensim-model-creator==0.7.1
|
|
16
16
|
Requires-Dist: PySide6
|
|
17
17
|
Requires-Dist: matplotlib
|
|
18
18
|
Requires-Dist: mplcursors
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/core/osim_resources/external_loads_template.xml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/dialogs/delete_marker_set_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
{c3d_parser-1.2.0 → c3d_parser-1.2.2}/src/c3d_parser/view/dialogs/marker_set_import_dialog.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|