The rowingdata library to create colorful plots from CrewNerd, Painsled and other rowing data tools
Project description
Based on python code by Greg Smith (https://quantifiedrowing.wordpress.com/) and inspired by the RowPro Dan Burpee spreadsheet (http://www.sub7irc.com/RP_Split_Template.zip)
To install
easy_install rowingdata
Or
$ pip install rowingdata
Release Notes: - Added RowPro CSV Parser
To use with Painsled CSV data, simply do
>>> from rowingdata import * >>> res = rowingdata.rowingdata("testdata.csv") >>> res.plotmeters_erg()
To use with RowPro CSV data, simply do
>>> from rowingdata import * >>> rp = rowingdata.RowProParser("RP_testdata.csv") >>> rp.write_csv("example_data.csv") >>> res = rowingdata.rowingdata("example_data.csv") >>> res.plotmeters_erg() >>> res.plottime_erg()
To use with CrewNerd TCX data, simply do
>>> from rowingdata import * >>> tcx = rowingdata.TCXParser("2016-03-25-0758.tcx") >>> tcx.write_csv("example_data.csv") >>> res = rowingdata.rowingdata("example_data.csv") >>> res.plotmeters_otw() >>> res.plottime_otw()
To get any data column, use (for example for HR data)
>>> res.getvalues[' HRCur (bpm)']
To create the colorful plots as well as copy a text summary to the clipboard, assuming you have a summary file from CrewNerd called 2016-03-25-0758.CSV and a TCX file called 2016-03-25-0758.TCX
>>> from rowingdata import * >>> otwplot.plotrowall("2016-03-25-0758")
Now you will have the summary data on your clipboard
The test data files are in the testdata folder in the install
The available data fields are
‘Timestamp (sec)’ ‘ Horizontal (meters)’ ‘ Cadence (stokes/min’ ‘HRCur (bpm)’ ‘ Stroke500mPace (sec/500m)’ ‘ Power (watts)’ ‘ DriveLength (meters)’ ‘ StrokeDistance (meters)’ ‘ DriveTime (ms)’ ‘ StrokeRecoveryTime (ms)’ ‘ AverageDriveForce (lbs)’ ‘ PeakDriveForce (lbs)’ ‘cum_dist’
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.