Skip to main content

The interface between FastJet and NumPy

Project description

pyjet allows you to perform jet clustering with FastJet on NumPy arrays.

By default pyjet only depends on NumPy and internally uses FastJet’s standalone fjcore release.

Installation:

pip install --user pyjet

Get example.py and run it:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyjet-0.0.3.tar.gz (142.3 kB) Copy SHA256 hash SHA256 Source None May 23, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page