Skip to content

Commit 293e9f0

Browse files
Merge pull request #30 from InfoMusCP/documentation
Setup Mkdocs and Getting Started page
2 parents 2902883 + 8eb36a8 commit 293e9f0

File tree

28 files changed

+857
-593
lines changed

28 files changed

+857
-593
lines changed

docs/assets/conceptual_model.png

179 KB
Loading

docs/getting_started.md

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Getting Started
2+
3+
PyEyesWeb is an open-source Python library for the analysis of expressive qualities in human movement.
4+
It provides algorithms to extract movement features from motion data, enabling researchers, artists, and developers to quantify and analyze movement expressivity.
5+
6+
## Installation
7+
8+
You can install PyEyesWeb using pip. Open your terminal and run:
9+
10+
```bash
11+
pip install pyeyesweb
12+
```
13+
14+
## Quick Start
15+
16+
Here's a simple example to get you started with PyEyesWeb. This example demonstrates how to load motion data and extract basic movement features.
17+
18+
```python
19+
from pyeyesweb.data_models import SlidingWindow
20+
from pyeyesweb.mid_level import Smoothness
21+
22+
# Movement smoothness analysis
23+
smoothness = Smoothness(rate_hz=50.0)
24+
window = SlidingWindow(max_length=100, n_columns=1)
25+
window.append([motion_data]) #(1)!
26+
27+
sparc, jerk = smoothness(window)
28+
```
29+
30+
1. Here, `motion_data` should be replaced with your actual motion data input within a loop. For this example, we assume it's a single sample of motion data (e.g., x coordinate at time t).
31+
32+
## Subpackages
33+
34+
PyEyesWeb is organized into subpackages analyzing movement features at different levels of abstraction and time scales [^1].
35+
36+
| <div style="min-width:150px">Subpackage</div> | Description | Implemented |
37+
|------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------|------------------|
38+
| [`physical_signals`](../user_guide/physical_signals/index.md) | Data acquisition from physical and virtual sensors (e.g., motion capture, IMU, video, physiological signals). | :material-close: |
39+
| [`low_level`](../user_guide/low_level/index.md) | Extraction of instantaneous descriptors from raw data (e.g., velocity, acceleration, kinetic energy, posture). | :material-check: |
40+
| [`mid_level`](../user_guide/mid_level/index.md) | Structural and amodal descriptors over movement units or windows (e.g., fluidity, coordination, lightness). | :material-check: |
41+
| [`high_level`](../user_guide/high_level/index.md) | Expressive and communicative qualities perceived by an observer (e.g., emotion, saliency, social signals). | :material-close: |
42+
| [`analysis_primitives`](../user_guide/analysis_primitives/index.md) | General-purpose operators applied at all levels (e.g., statistical moments, entropy, recurrence, predictive models). | :material-check: |
43+
44+
## References
45+
46+
[^1]: Camurri, A., Volpe, G., Piana, S., Mancini, M., Niewiadomski, R., Ferrari, N., & Canepa, C. (2016, July). The dancer in the eye: towards a multi-layered computational framework of qualities in movement. In Proceedings of the 3rd International Symposium on Movement and Computing (pp. 1-7).
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Integrations
2+
3+
PyEyesWeb aims to provide seamless integration with popular tools in the creative and artistic ecosystem.
4+
5+
## TouchDesigner
6+
7+
We provide a [plugin](https://github.com/InfoMusCP/PyEyesWebTD) consisting of set of TouchDesigner custom components (i.e., `.tox` files).
8+
Each `.tox` component implements a movement feature as outlined in the [documentation](../user_guide/index.md).
9+
10+
Example usage of the plugin is available in the [examples folder](../../examples/touchdesigner).

docs/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Movement Analysis Toolkit
1616

1717
:material-rocket-launch: **Extract features** from raw human movement data
1818
:material-school: **Apply in science, health, and the arts**
19-
:material-handshake: **Developed within the [Resilence EU Project](https://resilence.eu/)**
19+
:material-handshake: **Developed with the partial support of the [EU ICT STARTS Resilence Project](https://resilence.eu/)**
2020

21-
[:octicons-book-24: Get Started](getting_started.md){ .md-button .md-button--primary } [:material-github: GitHub Repository](https://github.com/InfoMusCP/InfoMove){ .md-button }
21+
[:octicons-book-24: Get Started](getting_started/getting_started.md){ .md-button .md-button--primary } [:material-github: GitHub Repository](https://github.com/InfoMusCP/InfoMove){ .md-button }
2222

2323
</div>
2424

@@ -63,7 +63,7 @@ Originally started in 1997, EyesWeb has been adopted worldwide in scientific res
6363

6464
---
6565

66-
Integrate PyEyesWeb in real-time with [TouchDesigner](integrations.md).
66+
Integrate PyEyesWeb in real-time with [TouchDesigner](getting_started/integrations.md).
6767

6868
- :material-hospital:{ .lg .middle } **Health & Rehabilitation**
6969

@@ -102,7 +102,7 @@ This framework models an observer of a dance performance through four interconne
102102
![InfoMus Lab Logo](assets/cp-logo.png){ width=512 }
103103
</div>
104104

105-
PyEyesWeb is developed as part of the **[Resilence EU Project](https://www.resilence.eu/)**,
105+
PyEyesWeb is developed the partial support of the [EU ICT STARTS Resilence Project](https://resilence.eu/),
106106
funded by the European Union’s Horizon programme.
107107

108108
<div align="center">
@@ -115,8 +115,8 @@ funded by the European Union’s Horizon programme.
115115

116116
## Explore the Documentation
117117

118-
- 🚀 [Getting Started](getting_started.md) – install, examples, and feature list
119-
- 🎭 [TouchDesigner Plugin](integrations.md)
118+
- 🚀 [Getting Started](getting_started/getting_started.md) – install, examples, and feature list
119+
- 🎭 [TouchDesigner Plugin](getting_started/integrations.md)
120120

121121
## Roadmap
122122

docs/javascripts/mathjax.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
window.MathJax = {
2+
tex: {
3+
inlineMath: [["\\(", "\\)"]],
4+
displayMath: [["\\[", "\\]"]],
5+
processEscapes: true,
6+
processEnvironments: true
7+
},
8+
options: {
9+
ignoreHtmlClass: ".*|",
10+
processHtmlClass: "arithmatex"
11+
}
12+
};
13+
14+
document$.subscribe(() => {
15+
MathJax.startup.output.clearCache()
16+
MathJax.typesetClear()
17+
MathJax.texReset()
18+
MathJax.typesetPromise()
19+
})

docs/modules/README.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)