FastJet与Numpy的接口
fastjet的Python项目详细描述
pyjet允许您使用FastJet执行jet集群 在NumPy数组上。
默认情况下,pyjet只依赖于numpy,在内部使用fastjet的standalone FJ矿石释放。
安装:
pip install --user pyjet
获取example.py并运行它:
curl -O https://raw.githubusercontent.com/ndawe/pyjet/master/example.py python example.py jet# pT eta phi mass #constit. 0 983.280 -0.868 2.905 36.457 34 1 901.745 0.221 -0.252 51.850 34 2 67.994 -1.194 -0.200 11.984 32 3 12.465 0.433 0.673 5.461 13 4 6.568 -2.629 1.133 2.099 9 5 6.498 -1.828 -2.248 3.309 6