Skip to content

EurBinned ​

The position-momentum overlap, and the side the shipped closed form errs on

7/7 passed in 962ms

TestWhat it doesResult
test_area_ceilingA bin area at or above 2 pi is refused rather than returning a quality of zero.✅ pass
test_ball_groupinglog2 gamma matches the printed grouping where it is evaluable and returns a number where it is not.✅ pass
test_ball_monotoneThe max-entropy price rises with the average bin distance.✅ pass
test_binned_conservativeThe closed-form quality never exceeds the exact one built from the Slepian eigenvalue.✅ pass
test_binned_productThe quality depends on the product of the two bin widths and nothing else.✅ pass
test_binned_tightnessThe shortfall against the exact quality is 1.0e-10 bits at delta = 0.01 and 9.99e-3 at 1.✅ pass
test_differential_limitUnit bin area returns log2(2 pi), the differential relation at hbar = 1.✅ pass