tantri/tests/binning/__snapshots__/test_binning.ambr
Deepak Mallubhotla bb7f87239f
Some checks failed
gitea-physics/tantri/pipeline/head There was a failure building this commit
initial binning commit
2024-08-05 04:00:25 -05:00

46 lines
1.6 KiB
Plaintext

# serializer version: 1
# name: test_group_x_bins
list([
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=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
list([
tuple(
3.9333333333333336,
dict({
'identity_plus_one': 5.933333333333334,
}),
),
tuple(
12.899999999999999,
dict({
'identity_plus_one': 14.899999999999999,
}),
),
tuple(
20.177500000000002,
dict({
'identity_plus_one': 22.177500000000002,
}),
),
tuple(
33.0,
dict({
'identity_plus_one': 35.0,
}),
),
])
# ---
# name: test_group_x_bins_summary
list([
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=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)}),
])
# ---