Skip to content

Instantly share code, notes, and snippets.

@sjpfenninger
Created June 16, 2014 22:01
Show Gist options
  • Save sjpfenninger/458594261d1534e8c404 to your computer and use it in GitHub Desktop.
Save sjpfenninger/458594261d1534e8c404 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"worksheets": [
{
"cells": [
{
"metadata": {},
"cell_type": "code",
"input": "# requires the sickle library, see http://sickle.readthedocs.org\n# install it by doing: `pip install sickle` in a terminal window\n\nfrom sickle import Sickle",
"prompt_number": 1,
"outputs": [],
"language": "python",
"trusted": true,
"collapsed": false
},
{
"metadata": {},
"cell_type": "code",
"input": "base_url = 'http://export.arxiv.org/oai2'",
"prompt_number": 2,
"outputs": [],
"language": "python",
"trusted": true,
"collapsed": true
},
{
"metadata": {},
"cell_type": "code",
"input": "sickle = Sickle(base_url)",
"prompt_number": 3,
"outputs": [],
"language": "python",
"trusted": true,
"collapsed": false
},
{
"metadata": {},
"cell_type": "code",
"input": "records = sickle.ListRecords(metadataPrefix='oai_dc')",
"prompt_number": 4,
"outputs": [],
"language": "python",
"trusted": true,
"collapsed": false
},
{
"metadata": {},
"cell_type": "code",
"input": "r = records.next() # Grab a record",
"prompt_number": 5,
"outputs": [],
"language": "python",
"trusted": true,
"collapsed": false
},
{
"metadata": {},
"cell_type": "code",
"input": "r.metadata",
"prompt_number": 6,
"outputs": [
{
"text": "{'creator': [u'Bal\\xe1zs, C.',\n 'Berger, E. L.',\n 'Nadolsky, P. M.',\n 'Yuan, C. -P.'],\n 'date': ['2007-04-02', '2007-07-24'],\n 'description': [' A fully differential calculation in perturbative quantum chromodynamics is\\npresented for the production of massive photon pairs at hadron colliders. All\\nnext-to-leading order perturbative contributions from quark-antiquark,\\ngluon-(anti)quark, and gluon-gluon subprocesses are included, as well as\\nall-orders resummation of initial-state gluon radiation valid at\\nnext-to-next-to-leading logarithmic accuracy. The region of phase space is\\nspecified in which the calculation is most reliable. Good agreement is\\ndemonstrated with data from the Fermilab Tevatron, and predictions are made for\\nmore detailed tests with CDF and DO data. Predictions are shown for\\ndistributions of diphoton pairs produced at the energy of the Large Hadron\\nCollider (LHC). Distributions of the diphoton pairs from the decay of a Higgs\\nboson are contrasted with those produced from QCD processes at the LHC, showing\\nthat enhanced sensitivity to the signal can be obtained with judicious\\nselection of events.\\n',\n 'Comment: 37 pages, 15 figures; published version'],\n 'identifier': ['http://arxiv.org/abs/0704.0001',\n 'Phys.Rev.D76:013009,2007',\n 'doi:10.1103/PhysRevD.76.013009'],\n 'subject': ['High Energy Physics - Phenomenology'],\n 'title': ['Calculation of prompt diphoton production cross sections at Tevatron and\\n LHC energies'],\n 'type': ['text']}",
"output_type": "pyout",
"metadata": {},
"prompt_number": 6
}
],
"language": "python",
"trusted": true,
"collapsed": false
},
{
"metadata": {},
"cell_type": "code",
"input": "",
"outputs": [],
"language": "python",
"trusted": true,
"collapsed": false
}
],
"metadata": {}
}
],
"metadata": {
"name": "",
"signature": "sha256:c9f508d0543a198a1518b1f2cc68372ffa90f1497421c9732c63e409f66b4fc1"
},
"nbformat": 3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment