{
"info": {
"author": "Noel Dawe",
"author_email": "noel@dawe.me",
"bugtrack_url": null,
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: C++",
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Software Development"
],
"description": "pyjet: the interface between FastJet and NumPy\n==============================================\n\n.. image:: https://img.shields.io/pypi/v/pyjet.svg\n :target: https://pypi.python.org/pypi/pyjet\n\n.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.1197493.svg\n :target: https://doi.org/10.5281/zenodo.1197493\n\n.. image:: https://travis-ci.org/scikit-hep/pyjet.svg\n :target: https://travis-ci.org/scikit-hep/pyjet\n\n.. image:: https://coveralls.io/repos/github/scikit-hep/pyjet/badge.svg?branch=master\n :target: https://coveralls.io/github/scikit-hep/pyjet?branch=master\n\npyjet allows you to perform jet clustering with `FastJet `_\non `NumPy `_ arrays. By default pyjet only depends on\nNumPy and internally uses FastJet's standalone fjcore release. The interface\ncode is written in `Cython `_ that then becomes compiled\nC++, so it's fast. Remember that if you use pyjet then you are using FastJet\nand should cite the papers listed `here `_.\n\nStrict dependencies\n-------------------\n\n- `Python `__ (2.7+, 3.4+)\n- `Numpy `__\n\nGetting started\n---------------\n\npyjet provides the ``cluster()`` function that takes a NumPy array as input\nand returns a ``ClusterSequence`` from which you can access the jets:\n\n.. code-block:: python\n\n from pyjet import cluster\n from pyjet.testdata import get_event\n\n vectors = get_event()\n sequence = cluster(vectors, R=1.0, p=-1)\n jets = sequence.inclusive_jets() # list of PseudoJets\n exclusivejets = sequence.exclusive_jets(3) # Find the cluster history when there are 3 jets\n\nThe first four fields of the input array ``vectors`` must be either:\n\n.. code-block:: python\n\n np.dtype([('pT', 'f8'), ('eta', 'f8'), ('phi', 'f8'), ('mass', 'f8')])\n\nor if ``cluster(..., ep=True)``:\n\n.. code-block:: python\n\n np.dtype([('E', 'f8'), ('px', 'f8'), ('py', 'f8'), ('pz', 'f8')])\n\nNote that the field names of the input array need not match 'pT', 'eta', 'phi',\n'mass' etc. pyjet only assumes that the first four fields are those quantities.\nThis array may also have additional fields of any type. Additional fields will\nthen become attributes of the ``PseudoJet`` objects.\n\nSee the `examples `_ to\nget started:\n\n.. image:: https://github.com/scikit-hep/pyjet/raw/master/examples/jet_areas.png\n\n\nStandalone Installation\n-----------------------\n\nTo simply use the built-in FastJet source::\n\n pip install --user pyjet\n\nAnd you're good to go!\n\nGet example.py and run it::\n\n\tcurl -O https://raw.githubusercontent.com/scikit-hep/pyjet/master/examples/example.py\n\tpython example.py\n\tjet# pT eta phi mass #constit.\n\t1 983.280 -0.868 2.905 36.457 34\n\t2 901.745 0.221 -0.252 51.850 34\n\t3 67.994 -1.194 -0.200 11.984 32\n\t4 12.465 0.433 0.673 5.461 13\n\t5 6.568 -2.629 1.133 2.099 9\n\t6 6.498 -1.828 -2.248 3.309 6\n\n\tThe 6th jet has the following constituents:\n\tPseudoJet(pt=0.096, eta=-2.166, phi=-2.271, mass=0.000)\n\tPseudoJet(pt=2.200, eta=-1.747, phi=-1.972, mass=0.140)\n\tPseudoJet(pt=1.713, eta=-2.037, phi=-2.469, mass=0.940)\n\tPseudoJet(pt=0.263, eta=-1.682, phi=-2.564, mass=0.140)\n\tPseudoJet(pt=1.478, eta=-1.738, phi=-2.343, mass=0.940)\n\tPseudoJet(pt=0.894, eta=-1.527, phi=-2.250, mass=0.140)\n\n\tGet the constituents as an array (pT, eta, phi, mass):\n\t[( 0.09551261, -2.16560157, -2.27109083, 4.89091390e-06)\n\t ( 2.19975694, -1.74672746, -1.97178728, 1.39570000e-01)\n\t ( 1.71301882, -2.03656511, -2.46861524, 9.39570000e-01)\n\t ( 0.26339374, -1.68243005, -2.56397904, 1.39570000e-01)\n\t ( 1.47781519, -1.7378898 , -2.34304346, 9.39570000e-01)\n\t ( 0.89353864, -1.52729244, -2.24973202, 1.39570000e-01)]\n\n\tor (E, px, py, pz):\n\t[( 0.42190436, -0.06155242, -0.07303395, -0.41095089)\n\t ( 6.50193926, -0.85863306, -2.02526044, -6.11692764)\n\t ( 6.74203628, -1.33952806, -1.06775374, -6.45273802)\n\t ( 0.74600384, -0.22066287, -0.1438199 , -0.68386087)\n\t ( 4.43164941, -1.0311407 , -1.05862485, -4.07096881)\n\t ( 2.15920027, -0.56111108, -0.69538886, -1.96067711)]\n\n Reclustering the constituents of the hardest jet with the kt algorithm\n [PseudoJet(pt=983.280, eta=-0.868, phi=2.905, mass=36.457)]\n\n Go back in the clustering sequence to when there were two jets\n PseudoJet(pt=946.493, eta=-0.870, phi=2.908, mass=20.117)\n PseudoJet(pt=36.921, eta=-0.800, phi=2.821, mass=4.119)\n\n Ask how many jets there are with a given dcut\n There are 9 jets with a dcut of 0.5\n\n Get the jets with the given dcut\n 1 PseudoJet(pt=308.478, eta=-0.865, phi=2.908, mass=2.119)\n 2 PseudoJet(pt=256.731, eta=-0.868, phi=2.906, mass=0.140)\n 3 PseudoJet(pt=142.326, eta=-0.886, phi=2.912, mass=0.829)\n 4 PseudoJet(pt=135.971, eta=-0.870, phi=2.910, mass=0.140)\n 5 PseudoJet(pt=91.084, eta=-0.864, phi=2.899, mass=1.530)\n 6 PseudoJet(pt=30.970, eta=-0.831, phi=2.822, mass=2.124)\n 7 PseudoJet(pt=7.123, eta=-0.954, phi=2.939, mass=1.017)\n 8 PseudoJet(pt=5.951, eta=-0.626, phi=2.818, mass=0.748)\n 9 PseudoJet(pt=4.829, eta=-0.812, phi=3.037, mass=0.384)\n\n\nUsing an External FastJet Installation\n---------------------------------------\n\nTo take advantage of the full FastJet library and optimized O(NlnN) kt and\nanti-kt algorithms you can first build and install FastJet and then install\npyjet with the ``--external-fastjet`` flag. Before building FastJet you will\nneed to install `CGAL `_ and `GMP\n`_.\n\nOn a Debian-based system (Ubuntu)::\n\n sudo apt-get install libcgal-dev libcgal11v5 libgmp-dev libgmp10\n\nOn an RPM-based system (Fedora)::\n\n sudo dnf install gmp.x86_64 gmp-devel.x86_64 CGAL.x86_64 CGAL-devel.x86_64\n\nOn Mac OS::\n\n brew install cgal gmp wget\n\nThen run pyjet's ``install-fastjet.sh`` script::\n\n curl -O https://raw.githubusercontent.com/scikit-hep/pyjet/master/install-fastjet.sh\n chmod +x install-fastjet.sh\n sudo ./install-fastjet.sh\n\nNow install pyjet like::\n\n pip install --user pyjet --install-option=\"--external-fastjet\"\n\npyjet will now use the external FastJet installation on your system.\n\n\nNote on units\n-------------\n\nThe package is indifferent to particular units, which are merely \"propagated\"\nthrough the code. We do recommend that the HEP units be used, as defined\nin the `units` module of the `hepunits package `_.\n\nIt is worth noting that the azimuthal angle phi is expressed in radians\nand varies from pi to pi.",
"description_content_type": "",
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "http://github.com/scikit-hep/pyjet",
"keywords": "",
"license": "GPLv3",
"maintainer": "the Scikit-HEP admins",
"maintainer_email": "scikit-hep-admins@googlegroups.com",
"name": "pyjet",
"package_url": "https://pypi.org/project/pyjet/",
"platform": "",
"project_url": "https://pypi.org/project/pyjet/",
"project_urls": {
"Homepage": "http://github.com/scikit-hep/pyjet"
},
"release_url": "https://pypi.org/project/pyjet/1.5.0/",
"requires_dist": null,
"requires_python": "",
"summary": "The interface between FastJet and NumPy",
"version": "1.5.0"
},
"last_serial": 5239812,
"releases": {
"0.0.1": [],
"0.0.2": [
{
"comment_text": "",
"digests": {
"md5": "54eab856b879e56972876bd97c702b80",
"sha256": "d826682a4f79f8add203aaf37b1665925966466288059cc702a9b65436d8f3ed"
},
"downloads": -1,
"filename": "pyjet-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "54eab856b879e56972876bd97c702b80",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 142357,
"upload_time": "2017-05-23T07:05:04",
"url": "https://files.pythonhosted.org/packages/9e/ec/ab1433d2074e8fafc17826289269a5ff3f0f7ee4fe71321765775b654c08/pyjet-0.0.2.tar.gz"
}
],
"0.0.3": [
{
"comment_text": "",
"digests": {
"md5": "9d33482609196eb5f7e1c9303bc78e17",
"sha256": "e65d5fe4b36bd8ea4a9618082e0c13b53883b853a799bec40f746c2f77b39211"
},
"downloads": -1,
"filename": "pyjet-0.0.3.tar.gz",
"has_sig": false,
"md5_digest": "9d33482609196eb5f7e1c9303bc78e17",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 142292,
"upload_time": "2017-05-23T13:32:24",
"url": "https://files.pythonhosted.org/packages/bd/5e/91c59f6115af3f5a6ca64af31cff302442601cdb9c626c6a61a7a367288d/pyjet-0.0.3.tar.gz"
}
],
"0.0.4": [
{
"comment_text": "",
"digests": {
"md5": "21a6fd4879fce45d67c920af6f4be079",
"sha256": "5bb9b987301742414c6635dd06110b58a566708fab3e2f9450818e56578b74b6"
},
"downloads": -1,
"filename": "pyjet-0.0.4.tar.gz",
"has_sig": false,
"md5_digest": "21a6fd4879fce45d67c920af6f4be079",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 150375,
"upload_time": "2017-05-24T05:38:44",
"url": "https://files.pythonhosted.org/packages/5c/46/29f18226e521241f686614787f23d9786071c2da40f4bfcd2402a37983cd/pyjet-0.0.4.tar.gz"
}
],
"0.1.0": [
{
"comment_text": "",
"digests": {
"md5": "c1948a694bc6956e240a0351c03de815",
"sha256": "8454a984e33a119317428265c176d1191fe7df93cca2c73ad922204f74c8ec51"
},
"downloads": -1,
"filename": "pyjet-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "c1948a694bc6956e240a0351c03de815",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 153694,
"upload_time": "2017-05-27T14:42:18",
"url": "https://files.pythonhosted.org/packages/77/bb/9818057958e73b6a73d260d7e2fc36eb6f35835c593752787abf5ec75bbe/pyjet-0.1.0.tar.gz"
}
],
"0.2.0": [
{
"comment_text": "",
"digests": {
"md5": "c8fdeb7bdc8d7830577296b6b109771a",
"sha256": "6d0a4b8879b48a615ec50d85350208353fd6325ec3a553e40578881be610d458"
},
"downloads": -1,
"filename": "pyjet-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "c8fdeb7bdc8d7830577296b6b109771a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 162239,
"upload_time": "2017-05-29T04:29:09",
"url": "https://files.pythonhosted.org/packages/b5/c5/6ecb869fed74dc47f09e67ef39964c17e3d9dc1d6659572dd65780818900/pyjet-0.2.0.tar.gz"
}
],
"0.3.0": [
{
"comment_text": "",
"digests": {
"md5": "32ded5db0adbe8601bb59c54cf9b73bb",
"sha256": "423abe18f31dcfcf709969cd27790fb721738b22fcb85f90c9dea2db97775c70"
},
"downloads": -1,
"filename": "pyjet-0.3.0.tar.gz",
"has_sig": false,
"md5_digest": "32ded5db0adbe8601bb59c54cf9b73bb",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 164176,
"upload_time": "2017-06-01T13:38:16",
"url": "https://files.pythonhosted.org/packages/66/63/b58a30ff365b26d5570bf2f5d7487ce01469cae3a634b4dd16fe5021f9dc/pyjet-0.3.0.tar.gz"
}
],
"0.4.0": [
{
"comment_text": "",
"digests": {
"md5": "02c2902ed2bc98cbe908cc243b8223ef",
"sha256": "6154c91098df288f5ca77361e54666612f68e5ec7c4c0b8c7892ad3a546129da"
},
"downloads": -1,
"filename": "pyjet-0.4.0.tar.gz",
"has_sig": false,
"md5_digest": "02c2902ed2bc98cbe908cc243b8223ef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 162590,
"upload_time": "2017-06-02T03:05:48",
"url": "https://files.pythonhosted.org/packages/27/56/412bbaa6b9d5d2e6b78065f78593f7bf2b0e352f3f0a0acc906e5903e249/pyjet-0.4.0.tar.gz"
}
],
"0.5.0": [
{
"comment_text": "",
"digests": {
"md5": "3bf7759366390448e2d7368095642336",
"sha256": "a4c7f1f99fc4ba0ab6d2ae7f3bfeb99ffd2b07f16e3425b13464618beef56192"
},
"downloads": -1,
"filename": "pyjet-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "3bf7759366390448e2d7368095642336",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 164275,
"upload_time": "2017-06-06T13:57:51",
"url": "https://files.pythonhosted.org/packages/49/39/c106d64cc326b2eb5fb43ba3c44cab8560fcc71410c72e680cf605b1430a/pyjet-0.5.0.tar.gz"
}
],
"0.5.1": [
{
"comment_text": "",
"digests": {
"md5": "c84bbc0f5085204bf2d8d3a68abd89f0",
"sha256": "93776a7cb76fb00ce50a70b3f845c16a00022cd06ed1454b40f8fd4edff71e4b"
},
"downloads": -1,
"filename": "pyjet-0.5.1.tar.gz",
"has_sig": false,
"md5_digest": "c84bbc0f5085204bf2d8d3a68abd89f0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 164555,
"upload_time": "2017-06-06T14:19:17",
"url": "https://files.pythonhosted.org/packages/0e/6a/4d26bac618b84a2171431674e1fa342ec56e9e67d699c1f1ba0a357df4de/pyjet-0.5.1.tar.gz"
}
],
"1.0.0": [
{
"comment_text": "",
"digests": {
"md5": "17f2dcdee923a73f245e2aac48c58a4a",
"sha256": "b88e6cc8e3a1255a2b67af899e255c3cd905d4dd96c410cbd3171d8480f8083b"
},
"downloads": -1,
"filename": "pyjet-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "17f2dcdee923a73f245e2aac48c58a4a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 165062,
"upload_time": "2017-06-07T05:17:55",
"url": "https://files.pythonhosted.org/packages/ad/13/48e0dd298355a6586bd29eb40497331559c1794b750424bcceaa27e69863/pyjet-1.0.0.tar.gz"
}
],
"1.0.1": [
{
"comment_text": "",
"digests": {
"md5": "b0977131ea2baf16a8a48d1ba26fec71",
"sha256": "3a24ea66229e97ae32eae0085257a129d48aa7ee4aaa4721a7acf6f37056a279"
},
"downloads": -1,
"filename": "pyjet-1.0.1.tar.gz",
"has_sig": false,
"md5_digest": "b0977131ea2baf16a8a48d1ba26fec71",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 165677,
"upload_time": "2017-08-10T04:52:03",
"url": "https://files.pythonhosted.org/packages/9f/8c/a55c0c33aa95df360d1d537df0181dab71cba4dc1fe0de0bf49b7644546f/pyjet-1.0.1.tar.gz"
}
],
"1.1.1": [
{
"comment_text": "",
"digests": {
"md5": "c7d427ca70b39aac1f9b72fc9dc85aef",
"sha256": "2e5cb490ca678b5b9f3336e3da1a6273f11ba83c6cb185e40ad3c8526b179364"
},
"downloads": -1,
"filename": "pyjet-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "c7d427ca70b39aac1f9b72fc9dc85aef",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 169151,
"upload_time": "2018-04-04T22:11:01",
"url": "https://files.pythonhosted.org/packages/4d/58/75a99d988afdccd1432e8c47c874dc9f650f6b1e2f13a07b3bd32b1c1f76/pyjet-1.1.1.tar.gz"
}
],
"1.2.0": [
{
"comment_text": "",
"digests": {
"md5": "f166d336518832f51ba51f45397d274c",
"sha256": "cd2d748c9976fc75138a9df454f414cec4b546a06a057ba936b5ef12bcef7e0f"
},
"downloads": -1,
"filename": "pyjet-1.2.0.tar.gz",
"has_sig": false,
"md5_digest": "f166d336518832f51ba51f45397d274c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 169302,
"upload_time": "2018-07-18T12:13:03",
"url": "https://files.pythonhosted.org/packages/d0/fa/9ef1bdca6689c96ec38036f9f412ef844deeb845e3f0a4ada188593bfc19/pyjet-1.2.0.tar.gz"
}
],
"1.3.0": [
{
"comment_text": "",
"digests": {
"md5": "9812647a6e46a48d38004c63c75979a1",
"sha256": "efa94b4d522e6855fb18d3961a2753933625bb29a41aeeaa0624a268d3e68cbe"
},
"downloads": -1,
"filename": "pyjet-1.3.0.tar.gz",
"has_sig": false,
"md5_digest": "9812647a6e46a48d38004c63c75979a1",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 169402,
"upload_time": "2018-08-11T13:01:13",
"url": "https://files.pythonhosted.org/packages/1c/af/680a9ec6d9d6cde0d0ae422ac67ae9b5c843b9bbc4f5777e0a1d4651fcc3/pyjet-1.3.0.tar.gz"
}
],
"1.4.0": [
{
"comment_text": "",
"digests": {
"md5": "fe5a8938be5de65574d6f49b02c5614e",
"sha256": "89ce11cd4541fb573d68fd60a219e5e1bdeb94cfcfffc917b472fde2aa9a5a31"
},
"downloads": -1,
"filename": "pyjet-1.4.0.tar.gz",
"has_sig": false,
"md5_digest": "fe5a8938be5de65574d6f49b02c5614e",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 180775,
"upload_time": "2019-01-10T22:46:29",
"url": "https://files.pythonhosted.org/packages/fa/29/d8e0ea0614db1f4c99629526a592acf4892846ccbedb2f54cf56b6030818/pyjet-1.4.0.tar.gz"
}
],
"1.5.0": [
{
"comment_text": "",
"digests": {
"md5": "378928768c20ee9e00ecab89689fae01",
"sha256": "b334fb9a01854165629d49a2df43c81c880fc231a8a27c156beccf42f223fe47"
},
"downloads": -1,
"filename": "pyjet-1.5.0.tar.gz",
"has_sig": false,
"md5_digest": "378928768c20ee9e00ecab89689fae01",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 185490,
"upload_time": "2019-05-07T20:05:30",
"url": "https://files.pythonhosted.org/packages/57/59/ea82b018ee110584d8ed5381d7cc58843497de5462f5123fdfef25a1191e/pyjet-1.5.0.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "378928768c20ee9e00ecab89689fae01",
"sha256": "b334fb9a01854165629d49a2df43c81c880fc231a8a27c156beccf42f223fe47"
},
"downloads": -1,
"filename": "pyjet-1.5.0.tar.gz",
"has_sig": false,
"md5_digest": "378928768c20ee9e00ecab89689fae01",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 185490,
"upload_time": "2019-05-07T20:05:30",
"url": "https://files.pythonhosted.org/packages/57/59/ea82b018ee110584d8ed5381d7cc58843497de5462f5123fdfef25a1191e/pyjet-1.5.0.tar.gz"
}
]
}