Recently I’m using the C3D file to simulate the gait of a patient, I want to validate the AnyBody model by comparing the aEMG to MusActivity. Does AnyBody have the script which could compare them automatically?
@Nickel_Lee I do have something which I once used for a paper (lund et al 2014) when I was at the University for comparing EMG with activity.
The EMG I had was stored in the c3d file as analog data, so if you EMG is not in the C3D file you will need to modify the script. It is a class template called CreateEmgEnvelope(), and here is file ValidationOutput.any where it was used.
I was wondering is it a good move that I first scaled the model based on the height and mass and then I used the morphing tech in tutorials for the detailed thigh and shank segment? pgalibarov said the source femur should be the non-scaled femur, I want to know more about the process of scaling.
Does the genetic bone differ between new AMMR 2.1 and order version like AMMR1.6?
And I used your shared file “EmgProcessing.any”, “ReduceKneeStrength.any”, I put the “ReduceKneeStrength.any” in the model/right/leg and “EmgProcessing.any” in studies. Here came a errror:
ERROR(SCR.PRS28) : H:/Su…M/A…n/M…s/DM/S…p/EmgProcessing.any(1) : ‘#class_template’ : Class template definition is not allowed inside Main.
I am not the right person to answer the scaling/morphing question. Sorry.
All files that the define class templates e.g. has the #class_template statement must be included before the first appearance of Main = {.You can, of course, use the template after the main statement
All you need to do is load a model with no scaling activated. Double click on the bone of interest and then right click in the model tree ‘export stl’ in local coordinate system to make sure you have this generic ‘source bone’.
Could you simply explain the workflow of scaling if plug-in-gait-simple model of subject with different height and mass?
What I want to do is first scaling the whole model based on the height and mass and the Height ratio, Then scaling the femur and tibia using RBF scaling (using the first step femur STL as source and my own femur STL as target).