【文件属性】:
文件名称:boost-histogram:C ++ 14 Boost的Python绑定
文件大小:744KB
文件格式:ZIP
更新时间:2021-03-18 00:50:44
python histogram scikit-hep JupyterNotebook
Python的升压直方图
( )(C ++ 14库)的Python绑定。 这是的直方图,同时仍提供完整直方图对象的功能。 看看有。
对于对分析感兴趣的最终用户,请参阅 ,这是第一方对分析人员友好的直方图库,它使用命名轴,许多新的快捷方式(包括UHI +),绘图快捷方式等扩展了boost-histogram。
用法
文字简介(单击以展开) import boost_histogram as bh
# Compose axis however you like; this is a 2D histogram
hist = bh . Histogram (
bh . axis . Regular ( 2 , 0 , 1 ),
bh . axis . Regular ( 4 , 0.0 , 1.0 ),
)
# Filling can be done with array