-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from NNPDF/update-docs
Update docs
- Loading branch information
Showing
27 changed files
with
466 additions
and
339 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,9 @@ | ||
External runners | ||
================ | ||
Overview | ||
======== | ||
|
||
The ``pinefarm run`` is mainly a uniform interface to some Monte Carlo (and non) | ||
generator that are able to produce PineAPPL grids. | ||
`pinefarm` itself is mostly physics agnostic, but the external programs | ||
contain the actual physics. | ||
|
||
Internally the runners are managed through a class system, with a base class | ||
:class:`~pinefarm.external.interface.External`, that defines the basic | ||
steps and attributes, while implementing the common actions. | ||
|
||
Attributes: | ||
|
||
- ``name``: name of the dataset | ||
- ``theory``: identifier of the theory | ||
- ``pdf``: PDF used for the comparison | ||
- ``timestamp``, *optional*: the timestamp of the previous run, if rerunning an | ||
already present grid | ||
|
||
Computed attributes: | ||
|
||
- ``dest``: folder used for all the output | ||
- ``source``: folder containing pinecard | ||
- ``grid``: path of the computed grid | ||
- ``gridtmp``: path used for auxiliary grid (removed at the end of the run) | ||
|
||
Steps: | ||
|
||
- :meth:`~pinefarm.external.interface.External.install`: further install | ||
steps, needed for the runner (not needed if the runner available as a python | ||
package on PyPI) | ||
- :meth:`~pinefarm.external.interface.External.run`: compute the actual | ||
predictions | ||
- :meth:`~pinefarm.external.interface.External.generate_pineappl`: collect | ||
predictions into a |pineappl| grid | ||
- :meth:`~pinefarm.external.interface.External.results`: provide runner | ||
results on chosen PDF, for comparison with |pineappl| ``convolute`` ones | ||
- :meth:`~pinefarm.external.interface.External.annotate_versions`: collect | ||
versions of all the program used to compute the results (for reproducibility) | ||
- :meth:`~pinefarm.external.interface.External.postprocess`: apply any | ||
further step specified in :doc:`postprocess file <../pinecards/postrun>`, save | ||
:doc:`metadata <../pinecards/metadata>`, and compress the final grid | ||
If you want to add a new program take a look to the interface class | ||
:class:`~pinefarm.external.interface.External` | ||
from which you should derive your new interface. |
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,21 @@ | ||
PDF integrability | ||
================= | ||
|
||
These pseudo-observables can be used to enforce the integrability of PDFs in a PDF fit | ||
- see e.g. :cite:`NNPDF:2021njg`. | ||
This is a built-in interface. | ||
|
||
Pinecard structure | ||
------------------ | ||
|
||
- The ``integrability.yaml`` file (compulsory). This file contains the |pid| and kinematics of the pseudo-observable. | ||
|
||
Additional metadata | ||
------------------- | ||
|
||
No additional metadata is written. | ||
|
||
Output | ||
------ | ||
|
||
No additional output files are created. |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,21 @@ | ||
PDF positivity | ||
============== | ||
|
||
These pseudo-observables can be used to enforce the positivity of PDFs in a PDF fit | ||
:cite:`Candido:2020yat,Collins:2021vke,Candido:2023ujx`. | ||
This is a built-in interface. | ||
|
||
Pinecard structure | ||
------------------ | ||
|
||
- The ``positivity.yaml`` file (compulsory). This file contains the |pid| and kinematics of the pseudo-observable. | ||
|
||
Additional metadata | ||
------------------- | ||
|
||
No additional metadata is written. | ||
|
||
Output | ||
------ | ||
|
||
No additional output files are created. |
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,20 @@ | ||
Hawaiian Vrap | ||
============= | ||
|
||
Hawaiian Vrap :cite:`Barontini:2023vmr` is a modified version of the original Vrap :cite:`Anastasiou:2003ds`. | ||
It is used to compute observables in fixed-target Drell-Yan experiments. | ||
|
||
Pinecard structure | ||
------------------ | ||
|
||
- The ``vrap.yaml`` file (compulsory). This file contains the kinematics of the calculation. | ||
|
||
Additional metadata | ||
------------------- | ||
|
||
- ``vrap_version``: The Vrap version used to generate the grid | ||
|
||
Output | ||
------ | ||
|
||
No additional output files are created. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.