Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimpoutaraud committed Mar 4, 2023
1 parent 95f68d9 commit cecd936
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/musicalgestures/_motionanalysis.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## area

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionanalysis.py#L41)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionanalysis.py#L42)

```python
def area(motion_frame, height, width):
Expand All @@ -22,7 +22,7 @@ def area(motion_frame, height, width):
def centroid(image, width, height):
```

Computes the centroid of an image or frame.
Computes the centroid and quantity of motion in an image or frame.

#### Arguments

Expand Down
8 changes: 4 additions & 4 deletions docs/musicalgestures/_motionvideo.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ centroid of motion for each frame with timecodes in milliseconds.

## mg_motiondata

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L427)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L415)

```python
def mg_motiondata(
Expand Down Expand Up @@ -162,7 +162,7 @@ Shortcut for [mg_motion](#mg_motion) to only render motiongrams.

## mg_motionplots

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L505)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L493)

```python
def mg_motionplots(
Expand Down Expand Up @@ -240,7 +240,7 @@ Shortcut to only render the motion video. Uses musicalgestures._utils.motionvide

## save_analysis

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L568)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L556)

```python
def save_analysis(
Expand All @@ -264,7 +264,7 @@ Helper function to plot the motion data using matplotlib.

## save_txt

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L774)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_motionvideo.py#L762)

```python
def save_txt(
Expand Down
2 changes: 1 addition & 1 deletion docs/musicalgestures/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ General method to show an image or video file either in a window, or inline in a

## show_in_new_process

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_show.py#L280)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_show.py#L301)

```python
def show_in_new_process(command):
Expand Down
4 changes: 2 additions & 2 deletions docs/musicalgestures/_ssm.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

## mg_ssm

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_ssm.py#L43)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_ssm.py#L47)

```python
def mg_ssm(
Expand Down Expand Up @@ -53,7 +53,7 @@ SSMs can be computed over different input features such as 'motiongrams', 'spect

## smooth_downsample_feature_sequence

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_ssm.py#L16)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/_ssm.py#L17)

```python
def smooth_downsample_feature_sequence(
Expand Down
2 changes: 1 addition & 1 deletion docs/musicalgestures/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

## Examples

[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/__init__.py#L156)
[[find in source code]](https://github.com/fourMs/MGT-python/blob/master/musicalgestures/__init__.py#L158)

```python
class Examples():
Expand Down

0 comments on commit cecd936

Please sign in to comment.