Export Hip Joint Center

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Coline Van Waerbeke
Posts: 2
Joined: Mon Feb 03, 2020 2:04 am

Export Hip Joint Center

Post by Coline Van Waerbeke » Fri Nov 20, 2020 8:37 am

Hi,

I use some codes in Matlab to execute all the steps from scaling to Static Optimization (including Analyze) and for the purpose of my research, I also need to extract the location of the hip joint center depending on the time.
As I will have a lot of files (walking and running trials) to analyze, I was wondering if it is possible (and if yes, how to do it) to locate and then "create" a virtual marker that can follow the hip joint center trajectory during all the trials and then export its coordinates (depending on the time and/or frames) by using Matlab.


Thanks in advance !

Tags:

User avatar
Ayman Habib
Posts: 2248
Joined: Fri Apr 01, 2005 12:24 pm

Re: Export Hip Joint Center

Post by Ayman Habib » Fri Nov 20, 2020 3:16 pm

Hello,

If you have a Marker (or a similar abstraction) representing the joint center that you want exported, then you can use the AnalyzeTool and an OutputReporter, and specify the ComponentPath for the Marker. A Marker has an associated Output "location" that you can wire to the OutputReporter to get the results in a file or to a TableReporter to get them in a table in memory.

OutputReporter documentation: https://simtk-confluence.stanford.edu/d ... h+Analyses
Output list documentation: https://simtk-confluence.stanford.edu/d ... tputs+List

Hope this helps,
-Ayman

User avatar
Coline Van Waerbeke
Posts: 2
Joined: Mon Feb 03, 2020 2:04 am

Re: Export Hip Joint Center

Post by Coline Van Waerbeke » Mon Nov 23, 2020 10:31 am

Hi,

Thanks for you quick reply !
It will help me extract the data.
I am also looking for creating the "Marker" or a similar abstraction which could represent the hip joint center. I looked into the "Joint" class but I could not find the coordinates of the hip joint center especially during dynamic trials. Which class or tool should I use to find the coordinates of the hip joint center over time ?

Thanks again !

POST REPLY