incomplete force curve
This commit is contained in:
@@ -553,6 +553,19 @@ def interactive_forcecurve(theworkouts, workstrokesonly=True, plottype='scatter'
|
||||
if rowdata.empty:
|
||||
return "", "No Valid Data Available", "", ""
|
||||
|
||||
data_dict = rowdata.to_dict("records")
|
||||
|
||||
thresholdforce = 100. if 'x' in boattype else 200.
|
||||
|
||||
chart_data = {
|
||||
'title': theworkouts[0].name,
|
||||
'data': data_dict,
|
||||
'thresholdforce': thresholdforce,
|
||||
}
|
||||
|
||||
script, div = get_chart("/forcecurve", chart_data)
|
||||
return script, div
|
||||
|
||||
try:
|
||||
covariancematrix = np.cov(
|
||||
rowdata['peakforceangle'], y=rowdata['peakforce'])
|
||||
|
||||
Reference in New Issue
Block a user