GaitAnalysisToolKit
GaitAnalysisToolKit copied to clipboard
Tools for the Cleveland State Human Motion and Control Lab
If event 'A' is recorded as firing multiple times, we should store it. Either as: ``` python events['A'] = [(start1, stop1), (start2, stop2)] ``` or ``` python events['A1'] = (start1,...
T008 trial does this: ![ununwrapped-hip-angle](https://f.cloud.github.com/assets/276007/1925761/8e10efbe-7e36-11e3-998e-bbebed54d1a9.png)
This is a DFlowData object after `clean_data` is run from the test suite. It seems like the mocap column labels still have Anlg columns whereas the data frame has the...
Loading compensation data is very similar to loading a regular trial. It may make sense to subclass DFlowData and put all the associated compensation computations with that class instead of...
If the delay is specified we can solve a linear system such as: m(t) = m0(t) + K(t) \* [s0(t)- s(t)] + Kd \* [s0(t-tau) - s(t-tau)]
In test_motek all sample data in self.mocap_data_frame is essentially the same sine wave. It would be nice for each column to be different.
This takes 23 seconds on my machine for 500 steps.
Speed
Here is a profile of essentially running DFlowData.clean_data() + all the methods in WalkingData (including inverse dynamics compuations). ``` 7641430 function calls (7640347 primitive calls) in 181.271 seconds Ordered by:...
I'm running the numpy 1.8, pandas 0.13 and this test now fails. Seems to have something to do with the changes in min_time and max_time. @campanawanna
``` result = solver.solve(sparse_a=True) --------------------------------------------------------------------------- ValueError Traceback (most recent call last) in () ----> 1 result = solver.solve(sparse_a=True) /home/moorepants/src/Gait-Analysis-Toolkit/gaitanalysis/controlid.pyc in solve(self, sparse_a, gain_omission_matrix) 749 x, variance, covariance = self.least_squares(A, b)...