Analysis Overground and Treadmill Gait Run
- Motion Analysis
- Posts: 6
- Joined: Tue Nov 12, 2024 4:28 pm
Analysis Overground and Treadmill Gait Run
The program has only analyzed 1 second of data, is it capable of analyzing more than 1 second? If it can analyze a duration greater than 1 second, could you please explain how to do so? Also how we can get previous data already collected to analyze more than 1 second?
- Matt Petrucci
- Posts: 250
- Joined: Fri Feb 24, 2012 11:49 am
Re: Analysis Overground and Treadmill Gait Run
Hello,
The default is to analyze one gait cycle.
If you run the code locally, it will run the analysis on all gait cycles that are detected. https://github.com/stanfordnmbl/opencap ... sis.py#L56
You can also adjust that variable to be fewer gait cycles if you wish.
Hope this helps,
Matt
The default is to analyze one gait cycle.
If you run the code locally, it will run the analysis on all gait cycles that are detected. https://github.com/stanfordnmbl/opencap ... sis.py#L56
You can also adjust that variable to be fewer gait cycles if you wish.
Hope this helps,
Matt
- Motion Analysis
- Posts: 6
- Joined: Tue Nov 12, 2024 4:28 pm
Re: Analysis Overground and Treadmill Gait Run
How do we change the code to analyze the data locally since the code states read-only?
- Matt Petrucci
- Posts: 250
- Joined: Fri Feb 24, 2012 11:49 am
Re: Analysis Overground and Treadmill Gait Run
Hello,
First step is to clone the repo to your computer. https://docs.github.com/en/desktop/addi ... ub-desktop. I highly recommend using Github desktop if you are using Github for the first time.
Then, you will need to setup a python environment using the general steps in the readme here: https://github.com/stanfordnmbl/opencap ... quirements.
Once that is setup, you should be able to make any changes and run the code locally. You'll need to update the code with your session ID as well here: https://github.com/stanfordnmbl/opencap ... sis.py#L48
Hope this helps,
Matt
First step is to clone the repo to your computer. https://docs.github.com/en/desktop/addi ... ub-desktop. I highly recommend using Github desktop if you are using Github for the first time.
Then, you will need to setup a python environment using the general steps in the readme here: https://github.com/stanfordnmbl/opencap ... quirements.
Once that is setup, you should be able to make any changes and run the code locally. You'll need to update the code with your session ID as well here: https://github.com/stanfordnmbl/opencap ... sis.py#L48
Hope this helps,
Matt