Skip to main content

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:

0.43

  • Attempting to remove the dubious DataFrame copy errors using df.loc

0.42

  • Added RowPro CSV Parser

  • Added summary statistics and interval statistics

  • Interval statistics now (sort of) works for Desktop Painsled data

To Use

Beta. Use with caution.

To use with Painsled CSV data, simply do

>>> from rowingdata import *
>>> row = rowingdata.rowingdata("testdata.csv")
>>> row.plotmeters_erg()
>>> print row.allstats()

To use with RowPro CSV data, simply do

>>> from rowingdata import *
>>> rp = rowingdata.RowProParser("RP_testdata.csv")
>>> rp.write_csv("example_data.csv")
>>> row = rowingdata.rowingdata("example_data.csv")
>>> row.plotmeters_erg()
>>> row.plottime_erg()
>>> print row.summary()

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")
>>> row = rowingdata.rowingdata("example_data.csv")
>>> row.plotmeters_otw()
>>> row.plottime_otw()
>>> print row.summary()

To get any data column as a numpy array, use (for example for HR data - see list below for other accessible data fields).

>>> row.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

Data Fields

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’

Future functionality

  • Add upload to concept2 logbook (would be great but very difficult as I haven’t found an API and not much experience with the network protocols)

  • Add support for other erg software tools (just need the csv/tcx and it will be easy)

  • Add some command line tools to do the most common stuff

Project details


Release history Release notifications | RSS feed

This version

0.43

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rowingdata-0.43.zip (13.5 kB view details)

Uploaded Source

File details

Details for the file rowingdata-0.43.zip.

File metadata

  • Download URL: rowingdata-0.43.zip
  • Upload date:
  • Size: 13.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for rowingdata-0.43.zip
Algorithm Hash digest
SHA256 f08515fb73270f3c5498b739df7f5dde6f35543feab8d3e04f037056e50ea168
MD5 cdce0f7a669b3dc776e9a495dce0bf6d
BLAKE2b-256 0bdae44df784f152c8304709ebaaa69c8a37f0315fbec05641fb29b3c1f24fed

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page