bins require two entries at least for stdev
This commit is contained in:
parent
bb7f87239f
commit
35d225743a
@ -4,7 +4,6 @@
|
|||||||
Bin(bindex=0, x_min=1.0, point_xs=array([1. , 2.8, 8. ]), point_y_dict={'identity_plus_one': array([ 3. , 4.8, 10. ])}),
|
Bin(bindex=0, x_min=1.0, point_xs=array([1. , 2.8, 8. ]), point_y_dict={'identity_plus_one': array([ 3. , 4.8, 10. ])}),
|
||||||
Bin(bindex=1, x_min=9.0, point_xs=array([12.2, 13.6]), point_y_dict={'identity_plus_one': array([14.2, 15.6])}),
|
Bin(bindex=1, x_min=9.0, point_xs=array([12.2, 13.6]), point_y_dict={'identity_plus_one': array([14.2, 15.6])}),
|
||||||
Bin(bindex=2, x_min=17.0, point_xs=array([17. , 19.71, 20. , 24. ]), point_y_dict={'identity_plus_one': array([19. , 21.71, 22. , 26. ])}),
|
Bin(bindex=2, x_min=17.0, point_xs=array([17. , 19.71, 20. , 24. ]), point_y_dict={'identity_plus_one': array([19. , 21.71, 22. , 26. ])}),
|
||||||
Bin(bindex=4, x_min=33.0, point_xs=array([33.]), point_y_dict={'identity_plus_one': array([35.])}),
|
|
||||||
])
|
])
|
||||||
# ---
|
# ---
|
||||||
# name: test_group_x_bins_mean
|
# name: test_group_x_bins_mean
|
||||||
@ -27,12 +26,6 @@
|
|||||||
'identity_plus_one': 22.177500000000002,
|
'identity_plus_one': 22.177500000000002,
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
tuple(
|
|
||||||
33.0,
|
|
||||||
dict({
|
|
||||||
'identity_plus_one': 35.0,
|
|
||||||
}),
|
|
||||||
),
|
|
||||||
])
|
])
|
||||||
# ---
|
# ---
|
||||||
# name: test_group_x_bins_summary
|
# name: test_group_x_bins_summary
|
||||||
@ -40,6 +33,5 @@
|
|||||||
BinSummary(mean_x=3.9333333333333336, summary_values={'identity_plus_one': BinSummaryValue(mean_y=5.933333333333334, stdev_y=3.635014901390823)}),
|
BinSummary(mean_x=3.9333333333333336, summary_values={'identity_plus_one': BinSummaryValue(mean_y=5.933333333333334, stdev_y=3.635014901390823)}),
|
||||||
BinSummary(mean_x=12.899999999999999, summary_values={'identity_plus_one': BinSummaryValue(mean_y=14.899999999999999, stdev_y=0.9899494936611668)}),
|
BinSummary(mean_x=12.899999999999999, summary_values={'identity_plus_one': BinSummaryValue(mean_y=14.899999999999999, stdev_y=0.9899494936611668)}),
|
||||||
BinSummary(mean_x=20.177500000000002, summary_values={'identity_plus_one': BinSummaryValue(mean_y=22.177500000000002, stdev_y=2.884329789280923)}),
|
BinSummary(mean_x=20.177500000000002, summary_values={'identity_plus_one': BinSummaryValue(mean_y=22.177500000000002, stdev_y=2.884329789280923)}),
|
||||||
BinSummary(mean_x=33.0, summary_values={'identity_plus_one': BinSummaryValue(mean_y=35.0, stdev_y=nan)}),
|
|
||||||
])
|
])
|
||||||
# ---
|
# ---
|
||||||
|
Loading…
x
Reference in New Issue
Block a user