rowingdata 3.8.6__tar.gz → 3.8.8__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rowingdata-3.8.6/rowingdata.egg-info → rowingdata-3.8.8}/PKG-INFO +1 -1
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/csvparsers.py +8 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/data/fit_export_spec.json +1 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/fitwrite.py +3 -2
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/rowingdata.py +1 -1
- {rowingdata-3.8.6 → rowingdata-3.8.8/rowingdata.egg-info}/PKG-INFO +1 -1
- {rowingdata-3.8.6 → rowingdata-3.8.8}/tests/test_fit_instroke_export.py +51 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/tests/test_rowingdata.py +15 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/LICENSE +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/MANIFEST.in +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/README.rst +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/bin/crewnerddata.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/bin/crewnerddata.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/bin/testdata.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/.buildinfo +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/2x20min.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/editrower.JPG +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/greghoc.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/image001.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/otwlogbook.JPG +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/otwscreenshot.JPG +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/screenshot.JPG +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/screenshotlogbook.JPG +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_images/woensdag.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_sources/index.txt +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_sources/modules.txt +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_sources/rowingdata.txt +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/ajax-loader.gif +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/alabaster.css +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/basic.css +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/comment-bright.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/comment-close.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/comment.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/custom.css +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/doctools.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/down-pressed.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/down.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/file.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/jquery-1.11.1.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/jquery.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/minus.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/plus.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/pygments.css +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/searchtools.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/underscore-1.3.1.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/underscore.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/up-pressed.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/up.png +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/_static/websupport.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/genindex.html +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/index.html +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/modules.html +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/objects.inv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/py-modindex.html +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/rowingdata.html +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/search.html +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/docs/_build/html/searchindex.js +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/__init__.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/__main__.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/boatedit.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/checkdatafiles.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/copystats.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/crewnerdplot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/crewnerdplottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/ergdataplot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/ergdataplottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/ergdatatotcx.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/ergstickplot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/ergstickplottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/ergsticktotcx.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/fit_garmin_bridge.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/fit_transcode.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/fitwrite_spec.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/gpxtools.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/gpxwrite.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/konkatenaadje.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/laptesting.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/obsolete.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/otherparsers.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/painsled_desktop_plot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/painsled_desktop_plottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/painsled_desktop_toc2.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/painsledplot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/painsledplottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/painsledtoc2.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/roweredit.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/rowproplot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/rowproplottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/speedcoachplot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/speedcoachplottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/speedcoachtoc2.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/tcxplot.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/tcxplot_nogeo.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/tcxplottime.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/tcxplottime_nogeo.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/tcxtoc2.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/tcxtools.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/trainingparser.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/utils.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/windcorrected.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata/writetcx.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata.egg-info/SOURCES.txt +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata.egg-info/dependency_links.txt +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata.egg-info/not-zip-safe +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata.egg-info/requires.txt +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/rowingdata.egg-info/top_level.txt +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/setup.cfg +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/setup.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/2016-03-25-0758.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/2016-03-25-0758_data.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/2x20min_o.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/2x2km.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/3km_cd_o.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/3x250m.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/EUBoatCoach.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/EmpowerSpeedCoachForce.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/NKEmporfromgreg.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/NKLiNKv130.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/NoHR.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/PainsledForce.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/RP_interval.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/RP_interval.csv_o.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/RP_testdata.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/SpdCoach2_imp_inconsistent.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/SpdCoachAmbiguous.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/SpeedCoach GPS Workout.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/SpeedCoach2Link_interval.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/SpeedCoach2Linkv1.27.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/SpeedCoach2v2.12.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/Speedcoach2example.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/aritmo.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/bc1.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/bc2.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/bc3.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/boatcoach.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/boatcoach_fixed_distance.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/boatcoach_otw.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/correctedpainsled.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/cottwich.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/coxmate.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/crewnerd_interval.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/crewnerddata.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/crewnerddata.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/crewnerddata_o.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/cumvalues.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/ergdata_example.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/ergdata_example.csv_o.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/ergstick.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/ergstick.csv_o.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/ergstick2.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/ergstick_o.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/example.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/example_data.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/faketcx.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/float.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/herodata.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/humon.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/impeller_empower.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/invalidchar.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/kinomap.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/mystery.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/nk_logbook.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/painsled.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/painsled_desktop_example.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/painsled_out_data.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/painsled_to_csv_20160221-105218_erg-400150318_760465m.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/quiske_per_stroke_left.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/quiske_per_stroke_new.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/quiske_per_stroke_right.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/quiske_per_stroke_seat.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/recover.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/ritmointervals.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rowingdata_eth.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rowinginmotionexample.TCX +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rowinginmotionexample.TCX_o.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rowperfect.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rowpro5.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rowpro_carrick.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rp3_curve.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rp3intervals.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rp3intervals2.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/rp_out.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/smartrow.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/smartrow_intervals.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/spdcoach2noheader.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/speedcoach2test2.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/speedcoach3test3.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/speedcoachexample.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/speedcoachexample.csv_o.CSV +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/strava_export.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/summarytest.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testdata.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testdata_part1.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testdata_part2.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testdatasummary.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testlapidx.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testtcs_210614.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testtcx.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/testtcx_210614.tcx +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata/tim.csv +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/testdata//345/210/222/350/210/271.csv" +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/tests/test_fit_standard.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/tests/test_fit_transcode.py +0 -0
- {rowingdata-3.8.6 → rowingdata-3.8.8}/tests/testparser.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rowingdata
|
|
3
|
-
Version: 3.8.
|
|
3
|
+
Version: 3.8.8
|
|
4
4
|
Summary: The rowingdata library to create colorful plots from CrewNerd, Painsled and other rowing data tools
|
|
5
5
|
Home-page: https://github.com/sanderroosendaal/rowingdata
|
|
6
6
|
Author: Sander Roosendaal
|
|
@@ -1174,6 +1174,12 @@ class QuiskeParser(CSVParser):
|
|
|
1174
1174
|
self.df[self.columns['catch']] = 0
|
|
1175
1175
|
self.df[self.columns['finish']] = self.df['stroke angle (deg)']
|
|
1176
1176
|
|
|
1177
|
+
# distance per stroke (m): boat speed over stroke rate
|
|
1178
|
+
spm = pd.to_numeric(self.df[self.columns[' Cadence (stokes/min)']], errors='coerce')
|
|
1179
|
+
strokelength = velo / (spm.replace(0, np.nan) / 60.)
|
|
1180
|
+
self.df[self.columns[' StrokeDistance (meters)']] = strokelength.replace(
|
|
1181
|
+
[np.inf, -np.inf], np.nan).fillna(0.0).clip(lower=0.0)
|
|
1182
|
+
|
|
1177
1183
|
self.to_standard()
|
|
1178
1184
|
|
|
1179
1185
|
class BoatCoachOTWParser(CSVParser):
|
|
@@ -2227,6 +2233,8 @@ class RowPerfectParser(CSVParser):
|
|
|
2227
2233
|
self.df[self.columns[' StrokeRecoveryTime (ms)']] *= 1000.
|
|
2228
2234
|
self.df[self.columns[' PeakDriveForce (lbs)']] /= lbstoN
|
|
2229
2235
|
self.df[self.columns[' DriveLength (meters)']] /= 100.
|
|
2236
|
+
# RowPerfect reports distance per stroke in cm
|
|
2237
|
+
self.df[self.columns[' StrokeDistance (meters)']] /= 100.
|
|
2230
2238
|
|
|
2231
2239
|
wperstroke = self.df['energy_per_stroke']
|
|
2232
2240
|
fav = wperstroke / self.df[self.columns[' DriveLength (meters)']]
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
"always_emit_field_ids": [],
|
|
25
25
|
"instroke_column_map": {
|
|
26
26
|
"curve_data": "HandleForceCurve",
|
|
27
|
+
"Handle_Force_(N)": "HandleForceCurve",
|
|
27
28
|
"boat accelerator curve": "BoatAcceleratorCurve",
|
|
28
29
|
"oar angle velocity curve": "OarAngleVelocityCurve",
|
|
29
30
|
"seat curve": "SeatCurve"
|
|
@@ -106,7 +106,8 @@ INSTROKE_CURVE_TYPES = dict(_FIT_EXPORT_RAW.get('instroke_curve_types') or {})
|
|
|
106
106
|
|
|
107
107
|
def _parse_instroke_curve(df, col):
|
|
108
108
|
"""Parse curve column to DataFrame of numeric values. Same format as rowingdata get_instroke_data."""
|
|
109
|
-
|
|
109
|
+
# Curves are stored as "(1,2,3)", "[1,2,3]" or "1,2,3" (OpenRowingMonitor)
|
|
110
|
+
d = df[col].astype(str).str.strip().str.strip('()[]').str.split(',', expand=True)
|
|
110
111
|
return d.apply(pd.to_numeric, errors='coerce')
|
|
111
112
|
|
|
112
113
|
|
|
@@ -540,7 +541,7 @@ def _downsample_curve_series(series, n_points):
|
|
|
540
541
|
curves = []
|
|
541
542
|
for val in series:
|
|
542
543
|
s = str(val).strip().strip('"')
|
|
543
|
-
inner = s[1:-1] if len(s) > 2 else s
|
|
544
|
+
inner = s[1:-1] if len(s) > 2 and s[0] in '([' and s[-1] in ')]' else s
|
|
544
545
|
parts = [float(x) for x in inner.split(',') if x.strip()]
|
|
545
546
|
if len(parts) < 2:
|
|
546
547
|
curves.append([0.0] * n_points)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: rowingdata
|
|
3
|
-
Version: 3.8.
|
|
3
|
+
Version: 3.8.8
|
|
4
4
|
Summary: The rowingdata library to create colorful plots from CrewNerd, Painsled and other rowing data tools
|
|
5
5
|
Home-page: https://github.com/sanderroosendaal/rowingdata
|
|
6
6
|
Author: Sander Roosendaal
|
|
@@ -375,6 +375,57 @@ def _curve_values(n_points, peak):
|
|
|
375
375
|
return [round(float(v), 1) for v in peak * np.sin(x) + 5.0]
|
|
376
376
|
|
|
377
377
|
|
|
378
|
+
class TestFitInstrokeOrmHandleForce(unittest.TestCase):
|
|
379
|
+
"""OpenRowingMonitor names its in-stroke force column ``Handle_Force_(N)``."""
|
|
380
|
+
|
|
381
|
+
ORM_COLUMN = 'Handle_Force_(N)'
|
|
382
|
+
|
|
383
|
+
def _orm_df(self):
|
|
384
|
+
df = _synthetic_stroke_df(curve_values=(100, 200, 400, 300, 50), n_strokes=3)
|
|
385
|
+
df = df.rename(columns={'curve_data': self.ORM_COLUMN})
|
|
386
|
+
# ORM writes the curve without brackets
|
|
387
|
+
df[self.ORM_COLUMN] = ['100,200,400,300,50'] * len(df)
|
|
388
|
+
df['Handle_Velocity_(m/s)'] = ['0.5,1.0,1.5,1.0,0.5'] * len(df)
|
|
389
|
+
df['Handle_Power_(W)'] = ['50,200,600,300,25'] * len(df)
|
|
390
|
+
return df
|
|
391
|
+
|
|
392
|
+
def test_column_map_names_orm_column(self):
|
|
393
|
+
self.assertEqual(fitwrite.INSTROKE_COLUMN_MAP[self.ORM_COLUMN], 'HandleForceCurve')
|
|
394
|
+
|
|
395
|
+
def test_orm_handle_force_goes_to_fit_field_60(self):
|
|
396
|
+
for mode in ('full', 'downsampled'):
|
|
397
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
398
|
+
fit_path, _ = _export_synthetic(tmp, mode, df=self._orm_df())
|
|
399
|
+
fmap = _field_description_map(fit_path)
|
|
400
|
+
self.assertEqual(fmap[60]['field_name'], 'HandleForceCurve')
|
|
401
|
+
recs = [r for r in _record_field_maps(fit_path) if 'HandleForceCurve' in r]
|
|
402
|
+
self.assertEqual(len(recs), 3)
|
|
403
|
+
for rec in recs:
|
|
404
|
+
self.assertEqual(list(rec['HandleForceCurve'].raw_value),
|
|
405
|
+
[1000, 2000, 4000, 3000, 500])
|
|
406
|
+
self.assertEqual(rec['InstrokePointCount'].raw_value, 5)
|
|
407
|
+
|
|
408
|
+
def test_orm_handle_force_not_in_companion_when_in_fit(self):
|
|
409
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
410
|
+
fit_path, _ = _export_synthetic(tmp, 'full', df=self._orm_df())
|
|
411
|
+
with open(os.path.splitext(fit_path)[0] + '.instroke.json') as f:
|
|
412
|
+
companion = json.load(f)
|
|
413
|
+
self.assertNotIn(self.ORM_COLUMN, companion)
|
|
414
|
+
self.assertNotIn('HandleForceCurve', companion)
|
|
415
|
+
|
|
416
|
+
def test_orm_velocity_and_power_stay_out_of_fit(self):
|
|
417
|
+
"""The standard (§6.1) allows only the handle force curve in the FIT file."""
|
|
418
|
+
with tempfile.TemporaryDirectory() as tmp:
|
|
419
|
+
fit_path, _ = _export_synthetic(tmp, 'full', df=self._orm_df())
|
|
420
|
+
names = {d['field_name'] for d in _field_description_map(fit_path).values()}
|
|
421
|
+
self.assertNotIn('Handle_Velocity_(m/s)', names)
|
|
422
|
+
self.assertNotIn('Handle_Power_(W)', names)
|
|
423
|
+
with open(os.path.splitext(fit_path)[0] + '.instroke.json') as f:
|
|
424
|
+
companion = json.load(f)
|
|
425
|
+
self.assertIn('Handle_Velocity_(m/s)', companion)
|
|
426
|
+
self.assertIn('Handle_Power_(W)', companion)
|
|
427
|
+
|
|
428
|
+
|
|
378
429
|
class TestFitInstrokeNativeCsvFullResolution(unittest.TestCase):
|
|
379
430
|
"""Native rowingdata CSV with 50-100 point force curves -> FIT at original resolution."""
|
|
380
431
|
|
|
@@ -720,6 +720,21 @@ class TestSpeedCoach2_v127Parser:
|
|
|
720
720
|
assert_equal(checks['velo_time_distance'],True)
|
|
721
721
|
# assert_equal(checks['velo_valid'],True)
|
|
722
722
|
|
|
723
|
+
class TestStrokeDistance:
|
|
724
|
+
def test_rowperfect_stroke_distance_is_in_metres(self):
|
|
725
|
+
r = rowingdata.RowPerfectParser('testdata/rowperfect.csv')
|
|
726
|
+
d = r.df[' StrokeDistance (meters)']
|
|
727
|
+
assert d.max() < 30 # was in cm (up to ~1300) before
|
|
728
|
+
assert d.iloc[1] == 10.1665
|
|
729
|
+
|
|
730
|
+
def test_quiske_has_stroke_distance(self):
|
|
731
|
+
r = rowingdata.QuiskeParser('testdata/quiske_per_stroke_left.csv')
|
|
732
|
+
d = r.df[' StrokeDistance (meters)']
|
|
733
|
+
assert (d >= 0).all()
|
|
734
|
+
assert d.max() > 0
|
|
735
|
+
assert d.max() < 30
|
|
736
|
+
|
|
737
|
+
|
|
723
738
|
class TestCurveData:
|
|
724
739
|
def testcurvedata(self):
|
|
725
740
|
file = 'testdata/rp3_curve.csv'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|