Search found 22 matches
- Fri Apr 27, 2018 8:26 am
- Forum: OpenSim
- Topic: Creating an app with an embeded visualizer
- Replies: 2
- Views: 271
Re: Creating an app with an embeded visualizer
Dear Ayman: Thanks for your response and kind disposition. Well, basically the goal here is to incorporate OpenSIM API's capabilities to a gaitlab workflow. The idea, instead of porting everything to OpenSIM, was to design a simple app that could be incorporated as a optional pipe in between our nor...
- Mon Apr 23, 2018 7:02 am
- Forum: OpenSim
- Topic: Creating an app with an embeded visualizer
- Replies: 2
- Views: 271
Creating an app with an embeded visualizer
Hi! I'm looking for some guidance here. I'm currently working on a Qt app that displays a OpenSIM 3.3 model visualizer, alongside some plots, a scrollbar to loop through some motion coordinates, and not much more. This is all being done in Python (pyqt) Best case scenario question: is there a way to...
- Fri Mar 16, 2018 5:55 am
- Forum: OpenSim
- Topic: Is there a None/NaN/Null value for TRCs or Storage?
- Replies: 1
- Views: 136
Is there a None/NaN/Null value for TRCs or Storage?
Our gaitlab sometimes looses sight of one or two experimental markers. This means that for a few frames we have no coordinates values for these markers, while the rest are OK. Is there a way to express this lack of information in a TRC file? Is there a None, NaN or Null value I could use?
- Thu Mar 15, 2018 5:37 pm
- Forum: OpenSim
- Topic: Markerset influence on Scaling results
- Replies: 3
- Views: 893
Re: Markerset influence on Scaling results
Three years too late, but check this out:
http://biomechanical.asmedigitalcollect ... id=2554135
http://biomechanical.asmedigitalcollect ... id=2554135
- Thu Feb 15, 2018 5:52 am
- Forum: OpenSim
- Topic: Plotting muscle tendon legth against gait cycle - Python
- Replies: 11
- Views: 769
Re: Plotting muscle tendon legth against gait cycle - Python
Tom: Thanks for your help! I solved the issue, it hadn't anything to do with coordinates orders: storage values where in degrees. :roll: . I modified the state looping for the unordered state nevertheless. Thank you very much for your assistance! from math import radians def computeLen(mot,mod): sto...
- Wed Feb 14, 2018 12:02 pm
- Forum: OpenSim
- Topic: Plotting muscle tendon legth against gait cycle - Python
- Replies: 11
- Views: 769
Re: Plotting muscle tendon legth against gait cycle - Python
Tom: I just saw you post a very similar answer in another post, but Matlab code. I don't think it's working, muscle lengths are far from what informed in the MuscleAnalysis Tool. Posting here the example function I'm working on: def computeLen(mot,mod): storage = opensim.Storage(mot) model = opensim...
- Wed Feb 14, 2018 8:56 am
- Forum: OpenSim
- Topic: Plotting muscle tendon legth against gait cycle - Python
- Replies: 11
- Views: 769
Re: Plotting muscle tendon legth against gait cycle - Python
Thanks Tom! I've no trouble looping through a model with its ModelVisualizer on, since at every step I call getVisualizer().show(newState). It works exactly as you show in other Matlab examples I found here. However, without it, how can I loop the model through the different states? I see that the s...
- Sat Feb 10, 2018 4:47 pm
- Forum: OpenSim
- Topic: Problem adding an Analysis to a Model using API from Python
- Replies: 4
- Views: 183
Re: Problem adding an Analysis to a Model using API from Python
Even worse: had my editor's search set for regex searches ![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
- Thu Feb 08, 2018 6:08 pm
- Forum: OpenSim
- Topic: Plotting muscle tendon legth against gait cycle - Python
- Replies: 11
- Views: 769
Re: Plotting muscle tendon legth against gait cycle - Python
As suggested, I created a MuscleAnalysis and ran it through an AnalyzeTool from python, which worked perfectly. The only info I need right now is the muscle-tendon length of a few muscles. The tool, however, creates a myriad of storage files for moments, forces and angles (all of them empty, with on...
- Thu Feb 08, 2018 4:00 pm
- Forum: OpenSim
- Topic: Problem adding an Analysis to a Model using API from Python
- Replies: 4
- Views: 183
Re: Problem adding an Analysis to a Model using API from Python
Yep, that's it. I just tried it on a Windows machine with a release install of OpenSIM and works fine. I guess the switch to 4.0 is becoming more and more of a necessity. I'll give it a thought once the compiling instructions for the GUI in Linux are available :lol: By the way, that was opensim.pyc,...