Page 1 of 1

Discussions on Overground Analysis

Posted: Tue Nov 12, 2024 4:35 pm
by motionanalysis1
Is the program designed to analyze only 1 second of data, or is it capable of analyzing more than 1 second? If it can analyze a duration greater than 1 second, could you please explain the methods it employs to perform such analysis?

Re: Discussions on Overground Analysis

Posted: Thu Nov 14, 2024 1:03 pm
by mpetrucc
Hello,

The default for the analysis in the webapp is to select the last stride for analysis. You can run the analysis locally using this code and change this variable: https://github.com/stanfordnmbl/opencap ... sis.py#L56

If you want all gait cycles that are detect, enter -1. Then it increments up from the last stride (i.e., 1 is the last stride, 2 is the last two strides).

Hope this helps,
Matt

Re: Discussions on Overground Analysis

Posted: Thu Nov 14, 2024 2:26 pm
by motionanalysis1
Thank you for getting back to me. Can you give me a more detailed explanation of how to do this?

Re: Discussions on Overground Analysis

Posted: Fri Nov 15, 2024 1:50 pm
by mpetrucc
Hello,

You will need to setup a python environment as outlined in the ReadMe here. Then you can make the necessary changes the code and run it within the python environment. If you are used to MATLAB, step 6 suggest installing Spyder which is pretty similar.

Hope this helps,
Matt

Re: Discussions on Overground Analysis

Posted: Mon Nov 18, 2024 9:54 am
by motionanalysis1
Thank you for replying back. Is it possible to reanalysis pervious data or would we need to perform new trials.

Re: Discussions on Overground Analysis

Posted: Mon Nov 18, 2024 10:06 am
by mpetrucc
You can analyze data you have already collected. You just need replace these example session ID and trial names to yours: https://github.com/stanfordnmbl/opencap ... sis.py#L43