-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update docs with example notebook (#37)
- Loading branch information
1 parent
5c1323d
commit 14e6600
Showing
16 changed files
with
1,965 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Examples | ||
======== | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
|
||
examples/basics |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
HepMC::Version 3.02.05 | ||
HepMC::Asciiv3-START_EVENT_LISTING | ||
T Pythia\|6.4.28\|Legacy Pythia 6 event | ||
E 0 19 40 | ||
U GEV MM | ||
A -19 sparkly 1 | ||
A -17 sparkly 1 | ||
A -15 sparkly 1 | ||
A -13 sparkly 1 | ||
A -12 sparkly 1 | ||
P 1 0 2212 0.000e+00 0.000e+00 4.999e+01 5.000e+01 9.383e-01 3 | ||
P 2 0 2212 0.000e+00 0.000e+00 -4.999e+01 5.000e+01 9.383e-01 3 | ||
P 3 1 1 -2.181e-02 5.881e-01 -4.847e-01 7.624e-01 -0.000e+00 3 | ||
P 4 2 1 -2.140e+00 6.307e-01 -5.560e+00 5.991e+00 -0.000e+00 3 | ||
P 5 3 1 -2.181e-02 5.881e-01 -4.847e-01 7.624e-01 0.000e+00 3 | ||
P 6 4 1 -2.140e+00 6.307e-01 -5.560e+00 5.991e+00 0.000e+00 3 | ||
V -5 0 [5,6] | ||
P 7 -5 1 -2.243e+00 8.092e-01 -5.434e+00 5.943e+00 3.300e-01 3 | ||
P 8 -5 1 8.114e-02 4.095e-01 -6.109e-01 8.102e-01 3.300e-01 3 | ||
P 9 7 1 -2.243e+00 8.092e-01 -5.434e+00 5.943e+00 3.300e-01 2 | ||
P 10 1 2203 2.181e-02 -5.881e-01 4.961e+01 4.962e+01 7.713e-01 2 | ||
P 11 8 1 8.114e-02 4.095e-01 -6.109e-01 8.102e-01 3.300e-01 2 | ||
P 12 2 2203 2.140e+00 -6.307e-01 -4.356e+01 4.363e+01 7.713e-01 2 | ||
V -8 0 [9,10] | ||
P 13 -8 92 -2.221e+00 2.212e-01 4.418e+01 5.556e+01 3.363e+01 2 | ||
P 14 13 331 -1.174e+00 8.077e-01 -3.080e+00 3.526e+00 9.582e-01 2 | ||
P 15 13 111 -3.152e-01 -3.598e-02 2.990e-01 4.564e-01 1.350e-01 2 | ||
P 16 13 -211 -7.064e-01 3.103e-02 -2.166e+00 2.283e+00 1.396e-01 1 | ||
P 17 13 211 -4.561e-01 -4.751e-01 8.121e+00 8.149e+00 1.396e-01 1 | ||
P 18 13 2112 9.004e-01 -2.513e-01 6.083e+00 6.226e+00 9.396e-01 1 | ||
P 19 13 211 -4.700e-01 1.449e-01 3.492e+01 3.492e+01 1.396e-01 1 | ||
V -9 0 [11,12] | ||
P 20 -9 92 2.221e+00 -2.212e-01 -4.418e+01 4.444e+01 4.282e+00 2 | ||
P 21 20 113 5.997e-01 3.451e-01 -3.381e+00 3.512e+00 6.540e-01 2 | ||
P 22 20 221 1.084e-01 -4.203e-01 -1.233e+01 1.235e+01 5.474e-01 2 | ||
P 23 20 2214 1.279e+00 4.004e-01 -2.004e+01 2.013e+01 1.347e+00 2 | ||
P 24 20 111 2.340e-01 -5.463e-01 -8.419e+00 8.441e+00 1.350e-01 2 | ||
P 25 14 22 -3.787e-01 1.380e-01 -5.727e-01 7.003e-01 0.000e+00 1 | ||
P 26 14 113 -7.951e-01 6.696e-01 -2.507e+00 2.826e+00 7.868e-01 2 | ||
V -12 0 [15] @ -4.174e-06 -4.765e-07 3.960e-06 6.044e-06 | ||
P 27 -12 22 -6.540e-02 -4.092e-02 1.411e-01 1.608e-01 0.000e+00 1 | ||
P 28 -12 22 -2.498e-01 4.942e-03 1.579e-01 2.956e-01 0.000e+00 1 | ||
P 29 21 211 -9.967e-02 6.182e-02 -5.559e-01 5.850e-01 1.396e-01 1 | ||
P 30 21 -211 6.993e-01 2.833e-01 -2.825e+00 2.927e+00 1.396e-01 1 | ||
P 31 22 22 -7.565e-02 -4.856e-01 -7.709e+00 7.725e+00 0.000e+00 1 | ||
P 32 22 22 1.840e-01 6.534e-02 -4.622e+00 4.626e+00 0.000e+00 1 | ||
P 33 23 2212 1.315e+00 5.050e-01 -1.675e+01 1.684e+01 9.383e-01 1 | ||
P 34 23 111 -3.566e-02 -1.047e-01 -3.292e+00 3.296e+00 1.350e-01 2 | ||
V -17 0 [24] @ 3.911e-05 -9.133e-05 -1.407e-03 1.411e-03 | ||
P 35 -17 22 1.023e-01 -3.972e-01 -5.805e+00 5.820e+00 0.000e+00 1 | ||
P 36 -17 22 1.317e-01 -1.492e-01 -2.614e+00 2.621e+00 0.000e+00 1 | ||
P 37 26 -211 -4.627e-01 -5.907e-02 -8.370e-01 9.683e-01 1.396e-01 1 | ||
P 38 26 211 -3.324e-01 7.287e-01 -1.670e+00 1.858e+00 1.396e-01 1 | ||
V -19 0 [34] @ -1.194e-06 -3.506e-06 -1.102e-04 1.104e-04 | ||
P 39 -19 22 -7.436e-02 -1.377e-02 -1.472e+00 1.474e+00 0.000e+00 1 | ||
P 40 -19 22 3.870e-02 -9.092e-02 -1.820e+00 1.822e+00 0.000e+00 1 | ||
HepMC::Asciiv3-END_EVENT_LISTING |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Generate about.rst from README.rst: must change paths to images | ||
with open("../README.rst") as f: | ||
content = f.read() | ||
|
||
content1 = content.replace("image:: docs/", "image:: ./") | ||
|
||
with open("index.rst.in") as f: | ||
content2 = f.read() | ||
|
||
with open("index.rst", "w") as f: | ||
f.write(content1 + "\n\n") | ||
f.write(content2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
.. include:: about.rst.in | ||
|
||
.. toctree:: | ||
:hidden: | ||
|
||
reference | ||
examples | ||
citation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,9 @@ test = | |
doc = | ||
sphinx | ||
sphinx-rtd-theme | ||
nbsphinx | ||
ipython | ||
ipykernel | ||
|
||
[flake8] | ||
max-line-length = 90 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters