added filtering on OTW efficiency < 200
This commit is contained in:
@@ -295,6 +295,12 @@ def clean_df_stats(datadf, workstrokesonly=True, ignorehr=True,
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
try:
|
||||
mask = datadf['efficiency'] > 200.
|
||||
datadf.loc[mask, 'efficiency'] = np.nan
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
try:
|
||||
mask = datadf['spm'] < 10
|
||||
datadf.loc[mask, 'spm'] = np.nan
|
||||
|
||||
@@ -65,7 +65,7 @@ rowingmetrics = (
|
||||
'null':True,
|
||||
'verbose_name': 'Average Drive Force (N)',
|
||||
'ax_min': 0,
|
||||
'ax_max': 900,
|
||||
'ax_max': 1200,
|
||||
'mode':'both',
|
||||
'type': 'pro'}),
|
||||
|
||||
@@ -74,7 +74,7 @@ rowingmetrics = (
|
||||
'null':True,
|
||||
'verbose_name': 'Peak Drive Force (N)',
|
||||
'ax_min': 0,
|
||||
'ax_max': 900,
|
||||
'ax_max': 1500,
|
||||
'mode':'both',
|
||||
'type': 'pro'}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user