Private
Public Access
1
0

Adding group attribute to stroke metric class

This commit is contained in:
Sander Roosendaal
2019-11-12 11:44:59 +01:00
parent 0b8b3c88b6
commit 737ac74c37

View File

@@ -55,7 +55,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 1e5,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group':'basic'}),
('hr',{
'numtype':'integer',
@@ -64,7 +65,8 @@ rowingmetrics = (
'ax_min': 100,
'ax_max': 200,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group':'athlete'}),
('pace',{
'numtype':'float',
@@ -73,7 +75,8 @@ rowingmetrics = (
'ax_min': 1.0e3*210,
'ax_max': 1.0e3*75,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group': 'basic'}),
('velo',{
'numtype':'float',
@@ -83,7 +86,8 @@ rowingmetrics = (
'ax_max': 8,
'default': 0,
'mode':'both',
'type':'pro'}),
'type':'pro',
'group': 'basic'}),
# ('powerhr',{
# 'numtype':'float',
@@ -92,7 +96,8 @@ rowingmetrics = (
# 'ax_min':0,
# 'ax_max':300,
# 'mode':'both',
# 'type':'pro'}),
# 'type':'pro',
# 'group':'athlete'}),
('spm',{
'numtype':'float',
@@ -101,7 +106,8 @@ rowingmetrics = (
'ax_min': 15,
'ax_max': 45,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group':'basic'}),
('driveenergy',{
'numtype':'float',
@@ -110,7 +116,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 1000,
'mode':'both',
'type': 'pro'}),
'type': 'pro',
'group':'forcepower'}),
('power',{
'numtype':'float',
@@ -119,7 +126,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 600,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group':'forcepower'}),
('averageforce',{
'numtype':'float',
@@ -128,7 +136,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 1200,
'mode':'both',
'type': 'pro'}),
'type': 'pro',
'group':'forcepower'}),
('peakforce',{
'numtype':'float',
@@ -137,7 +146,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 1500,
'mode':'both',
'type': 'pro'}),
'type': 'pro',
'group':'forcepower'}),
('drivelength',{
'numtype':'float',
@@ -146,7 +156,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 2.5,
'mode':'both',
'type': 'pro'}),
'type': 'pro',
'group':'stroke'}),
('forceratio',{
'numtype':'float',
@@ -155,7 +166,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 1,
'mode':'both',
'type': 'pro'}),
'type': 'pro',
'group': 'forcepower'}),
('distance',{
'numtype':'float',
@@ -164,7 +176,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 1e5,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group':'basic'}),
('cumdist',{
'numtype':'float',
@@ -173,7 +186,8 @@ rowingmetrics = (
'ax_min': 0,
'ax_max': 1e5,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group':'basic'}),
('drivespeed',{
'numtype':'float',
@@ -183,7 +197,8 @@ rowingmetrics = (
'ax_max': 4,
'default': 0,
'mode':'both',
'type': 'pro'}),
'type': 'pro',
'group': 'stroke'}),
('catch',{
'numtype':'float',
@@ -193,7 +208,8 @@ rowingmetrics = (
'ax_max': -75,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group': 'stroke'}),
('slip',{
'numtype':'float',
@@ -203,7 +219,8 @@ rowingmetrics = (
'ax_max': 20,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group': 'stroke'}),
('finish',{
'numtype':'float',
@@ -213,7 +230,8 @@ rowingmetrics = (
'ax_max': 55,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group': 'stroke'}),
('wash',{
'numtype':'float',
@@ -223,7 +241,8 @@ rowingmetrics = (
'ax_max': 30,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group': 'stroke'}),
('peakforceangle',{
'numtype':'float',
@@ -233,7 +252,8 @@ rowingmetrics = (
'ax_max': 50,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group':'stroke'}),
('totalangle',{
@@ -244,7 +264,8 @@ rowingmetrics = (
'ax_max': 140,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group':'stroke'}),
('effectiveangle',{
@@ -255,7 +276,8 @@ rowingmetrics = (
'ax_max': 140,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group':'stroke'}),
('rhythm',{
'numtype':'float',
@@ -265,7 +287,8 @@ rowingmetrics = (
'ax_max': 55,
'default': 1.0,
'mode':'erg',
'type': 'pro'}),
'type': 'pro',
'group':'stroke'}),
('efficiency',{
'numtype':'float',
@@ -275,7 +298,8 @@ rowingmetrics = (
'ax_max': 110,
'default': 0,
'mode':'water',
'type': 'pro'}),
'type': 'pro',
'group':'forcepower'}),
('distanceperstroke',{
'numtype':'float',
@@ -285,7 +309,8 @@ rowingmetrics = (
'ax_max': 15,
'default': 0,
'mode':'both',
'type': 'basic'}),
'type': 'basic',
'group':'basic'}),
)