Search found 6 matches

by Alicia Blasi-Toccacceli
Mon May 30, 2022 6:38 am
Forum: OpenSim
Topic: API computation of muscle moment arms of the scapulothoracic model
Replies: 1
Views: 325

API computation of muscle moment arms of the scapulothoracic model

Dear Opensim community, I am working with a colleague on the scapulothoracic model (Seth et al., 2019) and we would like to automatize the computation of muscle moment arms (MMA) over time for several motion trials. We use the MATLAB API. To do that, we would like to wrote a for loop that set the mo...
by Alicia Blasi-Toccacceli
Wed Jun 24, 2020 2:57 am
Forum: OpenSim
Topic: Failed Static Optimisation - Acceleration Constraint Violation
Replies: 6
Views: 801

Re: Failed Static Optimisation - Acceleration Constraint Violation

Hello, We are using the same model and we have the same issue with the static optimization (problem with acceleration constraint violation "ground_thorax_rot_x") . We used residual actuators too (on all degrees of freedom of the ground thorax joint, and with very very high values (50000 N) to be sur...
by Alicia Blasi-Toccacceli
Fri Jun 12, 2020 5:08 am
Forum: OpenSim
Topic: Change scapulothoracic joint properties in the Thoracoscapular model
Replies: 11
Views: 1175

Re: Change scapulothoracic joint properties in the Thoracoscapular model

Thanks for the explanation and the suggestion, I will try this!

Regards,
Alicia
by Alicia Blasi-Toccacceli
Wed Jun 10, 2020 8:40 am
Forum: OpenSim
Topic: Change scapulothoracic joint properties in the Thoracoscapular model
Replies: 11
Views: 1175

Change scapulothoracic joint properties in the Thoracoscapular model

Dear all, I am using the Thoracoscapular model (Seth et al. 2019) and I would like to change the thoracic ellipsoid radii (the highlighted line in the attached .osim file screenshot). The aim is to carry out a kind of sensitivity analysis, so I want to automatize the process through Python API. Thor...
by Alicia Blasi-Toccacceli
Mon Jun 01, 2020 7:00 am
Forum: OpenSim
Topic: Change ligament insertion point in a matlab loop
Replies: 5
Views: 732

Re: Change ligament insertion point in a matlab loop

Thank you so much for the advice, now it works perfectly!
Regards,
Alicia
by Alicia Blasi-Toccacceli
Thu May 28, 2020 11:21 pm
Forum: OpenSim
Topic: Change ligament insertion point in a matlab loop
Replies: 5
Views: 732

Re: Change ligament insertion point in a matlab loop

Hello, Sorry for reopening this old topic, but I am trying to change muscle insertion with Python and it does not work. In fact, the code above proposed by jimmy does in theory exactly what I want but when I run a similar code, I got an error for the last line with the setLocation function. Attribut...