OpenSim Python API Full Body Model

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Patrick Steck
Posts: 1
Joined: Thu Aug 31, 2023 8:02 am

OpenSim Python API Full Body Model

Post by Patrick Steck » Mon Sep 11, 2023 5:33 am

Hi there,

my name is Patrick and i'm a PHD-Student from Germany. I try to combine the musculoskeletal sim OpenSim with a Finite Elemente Analysis software to design optimized orthosis. Both software has a Python API. Unfortunately, i didn't get OpenSim to run properly. I can call different OpenSim functions from the C++/Python Wrapper. But the provided Full Body Model from Apoorva Rajagopal et al. doesn't work, even if i update the outdated syntax Python 2 to 3. It even starts and i get different results, but it stucks on several positions during calculation. The very first problem is, that it obviously finds no vtp (e. g. [warning] Couldn't find file 'r_patella.vtp'.) Don't know why. Next, the validitionPlots_emg_walk.py doesn't plot anything. And the validationPlots_id_walk.py is completly broken. I would be really grateful if someone could send me a working gait project or at least something workable from the femular downwards. :)

I use PyCharm and the Conda library:

Here is the Error Code that i got.

Code: Select all

G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\interpDFrame.py:41: PerformanceWarning: DataFrame is highly fragmented.  This is usually the result of calling `frame.insert` many times, which has poor performance.  Consider joining all columns at once using pd.concat(axis=1) instead. To get a de-fragmented frame, use `newframe = frame.copy()`
  dfInterp[colName] = colInterp
Traceback (most recent call last):
  File "G:\2_Projekte\DFG_Orthese\MORtheses\SimulationDataAndSetupFiles-4.0\Python\runAll.py", line 6, in <module>
    exec(open('validationPlots_emg_walk.py').read())
  File "<string>", line 40, in <module>
  File "C:\ProgramData\Anaconda3\envs\MORtheses\lib\site-packages\pandas\core\frame.py", line 3767, in __getitem__
    indexer = self.columns._get_indexer_strict(key, "columns")[1]
  File "C:\ProgramData\Anaconda3\envs\MORtheses\lib\site-packages\pandas\core\indexes\base.py", line 5877, in _get_indexer_strict
    self._raise_if_missing(keyarr, indexer, axis_name)
  File "C:\ProgramData\Anaconda3\envs\MORtheses\lib\site-packages\pandas\core\indexes\base.py", line 5938, in _raise_if_missing
    raise KeyError(f"None of [{key}] are in the [{axis_name}]")
KeyError: "None of [Index(['glmax1_r/activation', 'glmax2_r/activation', 'glmax3_r/activation'], dtype='object')] are in the [columns]"
PS: I know, there is a subforum for the Full Body Model, but the last time someone wrote something in it (total 2-3 posts?) was in 2019. So i think it is dead or not further supported.

Thank you in advance.

Patrick
Attachments
opensim.log
(735.45 KiB) Downloaded 13 times

Tags:

POST REPLY