Skip to content

Commit

Permalink
Correct images and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
iandanforth committed Feb 12, 2019
1 parent ac4692d commit f22dafa
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 47 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ from pymuscle.vis import PotvinChart
muscle = Muscle()

# Set up the simulation parameters
sim_duration = 60 # seconds
sim_duration = 200 # seconds
frames_per_second = 50
step_size = 1 / frames_per_second
total_steps = int(sim_duration / step_size)

# Use a constant level of excitation to more easily observe fatigue
excitation = 0.4 # Range is 0.0 to 1.0
excitation = 0.6 # Range is 0.0 to 1.0

total_outputs = []
outputs_by_unit = []
Expand Down
Binary file modified docs/src/images/minimal-example-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/src/images/minimal-physio-example-chart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 0 additions & 43 deletions example.py

This file was deleted.

4 changes: 2 additions & 2 deletions physio-readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ motor_unit_count = 120
muscle = Muscle(motor_unit_count)

# Set up the simulation parameters
sim_duration = 60 # seconds
sim_duration = 200 # seconds
frames_per_second = 50
step_size = 1 / frames_per_second
total_steps = int(sim_duration / step_size)
Expand Down Expand Up @@ -67,7 +67,7 @@ chart.display()

This will open a browser window with the produced chart. It should look like this:

<p align="center"><img width="80%" src="docs/src/images/minimal-example-chart.png" /></p>
<p align="center"><img width="80%" src="docs/src/images/minimal-physio-example-chart.png" /></p>

# Limitations

Expand Down

0 comments on commit f22dafa

Please sign in to comment.