moorepants / bicycledataprocessor Goto Github PK
View Code? Open in Web Editor NEWProcesses the data collected from the Davis Instrumented Bicycle.
Home Page: http://moorepants.github.io/dissertation
License: Other
Processes the data collected from the Davis Instrumented Bicycle.
Home Page: http://moorepants.github.io/dissertation
License: Other
For example: the Run.verify_time_sync() fails if the run is loaded from the task table instead of being recalculated. One fix would be to call the calibrate_signals() and truncate_signals() methods in verify_time_sync if the data was loaded from processed. Probably need to know which
This issue is currently on the store-processed branch.
BicycleDataProcessor has a simple filter method for each signal and the Run class can filter all included signals at the same low pass cutoff frequency. Peter is working with the data right now and we noticed that we shouldn't blindly use the filtering option of the Run class. I now realize that the lateral force in my analysis in my dissertation was attenuated a bit too much. See the attached figure. Just something to keep in my when playing with the data.
The bicycle parameters code gives this:
Calculating the human configuration.
Left arm's actual position does not match its desired position on the bike's handlebar. Left arm actual position:
[[ 0.76204482]
[-0.27266064]
[-1.10340464]] .
Left arm desired position:
[[ 0.68981424]
[-0.2675 ]
[-1.1186071 ]]
Left arm base to end distance: 0.581688096145 , Left arm D: 0.518569971695
Right arm's actual position does not match its desired position on the bike's handrebar. Right arm actual position: [[ 0.76204481]
[ 0.27266071]
[-1.10340466]] .
Right arm desired position:
[[ 0.68981424]
[ 0.2675 ]
[-1.1186071 ]] .
Right arm base to end distance: 0.581688096145 , Right arm D: 0.518569971695
It would nice if the endpoints on the filtered data were managed better, so that they are at extreme unrealistic values.
get_row_num() fails if you try a run number larger than the number of runs in the run table
The function should be changed to always find the row number for the supplied runid
The h5 file needs to have a taskTable in it or generates it automatically at the beginning.
here's the output from ipython:
In [1]: import bicycledataprocessor
/usr/lib/pymodules/python2.7/mpl_toolkits/init.py:2: UserWarning: Module dtk was already imported from /home/biosport/Documents/Packages/DynamicistToolKit/dtk/init.pyc, but /usr/local/lib/python2.7/dist-packages/yeadon-0.9-py2.7.egg is being added to sys.path
import('pkg_resources').declare_namespace(name)
To be in accordance with the coordinates that I've chosen.
The mappings dictionary doesn't work if you don't have all signals computed. Some runs only have calibrated signals availables and Run.plot() needs to be aware of this.
Peter did this in his code:
https://github.com/moorepants/RiderID/blob/master/functions/davisdat.m#L55
to negate the lateral force for that run. So something may be wrong. Should check it out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.