Search found 59 matches

by John Davis
Mon Oct 28, 2024 10:52 pm
Forum: OpenSim
Topic: Automatic Scaling Tool - Isssue
Replies: 4
Views: 493

Re: Automatic Scaling Tool - Isssue

I can't speak to the automatic tool, but from the data in your folder it looks like the source of your problems is that the foot is not "tall" enough. From your scale setup file, you are not scaling the height (Y axis) of the calcaneus or talus or toes at all. This is going to lead to a poor fit sin...
by John Davis
Mon Oct 21, 2024 9:21 pm
Forum: OpenSim
Topic: Muscle Volume
Replies: 2
Views: 353

Re: Muscle Volume

I have a github repo that shows how to use muscle volume to scale max isometric force. My use-case was using the Handsfield regression equations that predict muscle volume from height and weight but you should be able to pretty easily adapt the code to your data! https://github.com/johnjdavisiv/scal...
by John Davis
Mon Oct 21, 2024 9:17 pm
Forum: OpenSim
Topic: Hip joint center gait 2392 model
Replies: 2
Views: 326

Re: Hip joint center gait 2392 model

The hip joint centers are just wherever the hip joint centers were in the skeleton that was digitized to create the generic model. So, for that particular skeleton, they are "perfectly accurate." In fact in MRI studies, the gold standard for hip joint center is literally just the center of the head ...
by John Davis
Tue Mar 19, 2024 5:51 pm
Forum: OpenSim Moco
Topic: FunctionBasedPath
Replies: 14
Views: 4935

Re: FunctionBasedPath

Hi Nick, thanks for the great new feature! One quick thought/question - do you think the FunctionBasedPath class could also be used to "port in" muscle lengths and moment arms that are calculated elsewhere? From the docs it sounds like it should work as long as you can create a Function object for a...
by John Davis
Wed Feb 14, 2024 12:57 pm
Forum: OpenSim
Topic: Erratic hybrid muscle wrapping around ellipsoid
Replies: 4
Views: 435

Re: Erratic hybrid muscle wrapping around ellipsoid

Two things come to mind: First, I've found that I shouldn't always trust the visualizer--I've seen those 'double muscle' bugs sometimes and they don't always reflect actual errors in the wrapping. Checking the moment arm in the plot tool will sometimes show the wrapping is working just fine (though ...
by John Davis
Sun Feb 11, 2024 12:13 pm
Forum: OpenSim
Topic: Erratic hybrid muscle wrapping around ellipsoid
Replies: 4
Views: 435

Re: Erratic hybrid muscle wrapping around ellipsoid

In the images, I noticed that the troublesome muscle appears to pass through a torus wrapping surface too. I've found that those torus wrapping surfaces can cause exactly this kind of "jumping" or "falling off" behavior on other wrapping surfaces. Try replacing the torus with a via point (located at...
by John Davis
Sat Jan 06, 2024 3:48 pm
Forum: OpenSim
Topic: GCVSplineSet errorVariance
Replies: 8
Views: 1789

Re: GCVSplineSet errorVariance

I'm pretty sure the "errorVariance" is a just a regularization parameter: a smoothing penalty such that, the greater it is, the smoother (less "wiggly") the spline fit is. The "GCV" stands for generalized cross-validation, which based on my read of the docs is how the method chooses the errorVarianc...
by John Davis
Fri Dec 29, 2023 5:53 pm
Forum: OpenSim
Topic: Seeking Assistance: Elderly Musculoskeletal Models and Motions
Replies: 2
Views: 475

Re: Seeking Assistance: Elderly Musculoskeletal Models and Motions

You might consider using the Arnold 2010 model - it uses muscle parameters from Ward 2008 which used 21 cadavers that were ~82 years. The Arnold model uses a specific tension of 61 N/cm^2 (higher than what's typically estimated from direct measurements of muscles) to scale PCSA to max isometric forc...
by John Davis
Wed Dec 27, 2023 4:39 pm
Forum: OpenSim
Topic: Moco on Linux
Replies: 3
Views: 491

Re: Moco on Linux

I'd also like to throw my hat in the ring to request opensim-moco availability on Conda for Linux (and MacOS). I'm switching over to Linux/Mac + Python (from Windows + MATLAB) for my research and being able to start working with Moco would be great. The regular opensim distro on Conda works like a c...
by John Davis
Thu Sep 14, 2023 10:36 am
Forum: OpenSim
Topic: Question about the position for force data
Replies: 2
Views: 807

Re: Question about the position for force data

The _px, _py, _pz fields are the location of the center of pressure of the GRF - Unlike markers, which are by default in mm, force positions are expressed in meters, and are almost always expressed relative to the location of the global coordinate system (the axes you see in the GUI viewer). So when...