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