Skip to content

Commit 6ecf06d

Browse files
Move Smoothness to low_level subpackage and relocate LICENSE to .github folder
1 parent f03e8fd commit 6ecf06d

9 files changed

Lines changed: 9 additions & 9 deletions

File tree

File renamed without changes.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![PyPI version](https://img.shields.io/pypi/v/pyeyesweb.svg)](https://pypi.org/project/pyeyesweb/)
66
[![Docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://infomuscp.github.io/PyEyesWeb/)
7-
[![License](https://img.shields.io/github/license/USERNAME/PyEyesWeb.svg)](LICENSE)
7+
[![License](https://img.shields.io/github/license/USERNAME/PyEyesWeb.svg)](.github/LICENSE)
88

99
`PyEyesWeb` is a research toolkit for extracting quantitative features from human movement data.
1010
It builds on the **Expressive Gesture Analysis** library of [EyesWeb](https://casapaganini.unige.it/eyesweb_bp), bringing expressive movement analysis into Python as a core aim of the project.
@@ -22,7 +22,7 @@ A minimal example of extracting movement features with `PyEyesWeb`
2222
:
2323
```python
2424
from pyeyesweb.data_models import SlidingWindow
25-
from pyeyesweb.mid_level import Smoothness
25+
from pyeyesweb.low_level import Smoothness
2626

2727
# Movement smoothness analysis
2828
smoothness = Smoothness(rate_hz=50.0)

docs/user_guide/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Here's a simple example to get you started with PyEyesWeb. This example demonstr
1717

1818
```python
1919
from pyeyesweb.data_models import SlidingWindow
20-
from pyeyesweb.mid_level import Smoothness
20+
from pyeyesweb.low_level import Smoothness
2121

2222
# Movement smoothness analysis
2323
smoothness = Smoothness(rate_hz=50.0)

examples/test_scripts/smoothness.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
import cv2
1111
import mediapipe as mp
1212
import numpy as np
13-
from pyeyesweb.mid_level.smoothness import Smoothness
13+
from pyeyesweb.low_level.smoothness import Smoothness
1414
import time
1515

1616
def extract_wrist_xy(results, keypoint_idx, width, height):

pyeyesweb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
from pyeyesweb.mid_level.smoothness import Smoothness
1+
from pyeyesweb.low_level.smoothness import Smoothness
22
from pyeyesweb.analysis_primitives.synchronization import Synchronization

pyeyesweb/low_level/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
from pyeyesweb.low_level.equilibrium import Equilibrium
2-
from pyeyesweb.low_level.contraction_expansion import ContractionExpansion, analyze_movement
2+
from pyeyesweb.low_level.contraction_expansion import ContractionExpansion, analyze_movement
3+
from pyeyesweb.low_level.smoothness import Smoothness
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class Smoothness:
5050
5151
Examples
5252
--------
53-
>>> from pyeyesweb.mid_level.smoothness import Smoothness
53+
>>> from pyeyesweb.low_level.smoothness import Smoothness
5454
>>> from pyeyesweb.data_models.sliding_window import SlidingWindow
5555
>>> import numpy as np
5656
>>>

pyeyesweb/mid_level/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
from pyeyesweb.mid_level.smoothness import Smoothness

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ description = """PyEyesWeb is a research toolkit for extracting quantitative fea
2020
It offers computational methods to analyze different expressive qualities of movement."""
2121
readme = "README.md"
2222
license = "MIT"
23-
license-files = ["LICENSE.md"]
23+
license-files = [".github/LICENSE"]
2424
keywords = [
2525
"movement analysis",
2626
"human movement",

0 commit comments

Comments
 (0)