Skip to content
Snippets Groups Projects

[WIP]: Allowing for general theory covariance matrices to be included in fits

Closed Emanuele Roberto Nocera requested to merge htcovmat into master
16 files
+ 769
34
Compare changes
  • Side-by-side
  • Inline
Files
16
+ 17
0
# How to run a fit
By running a fit one generates a PDF as an output of a neural network calculated at some initial scale Q0 from an interpolation grid in x. The result is then convoluted with a FK table containing the partonic interaction and the PDF evolution from the initial scale Q0 to the scale of the interaction. Finally, the result is compared to data and the optimization is performed.
For that one has to first install the nnpdf code, then prepare a runcard and run the fit itself.
0. Install the code (follow NNPDF guide in this same repository)
1. Create a runcard by taking as template one of the files in `<profile_prefix>/config`. The `<profile_prefix>` path is by default `<install prefix>/share/NNPDF` for source installation, while `<conda root>/share/NNPDF` for conda installation.
2. Prepare the fit: use the command`vp-setupfit <runcard>.yml` to generate a `<runcard_folder>` folder in the current directory with a copy of the original YAML runcard. The required resources (such as the theory ID and the PDF) will be downloaded automatically. Alternatively they can be obtained
with the `vp-get` tool.
3. The `nnfit` program takes a `<runcard_folder>` as input, e.g. ```nnfit <replica_number> <runcard_folder> ``` where replica_number goes from 1 to n. (You can change the o)
4. Once the results from `<nnfit>` are computed, then use `postfit <number_of_replicas> <runcard_folder>` to finalize the PDF set by applying post selection criteria. This will produce a set of `<number_of_replicas>+1` replicas.
5. Upload the results using `vp-upload --fit <runcard_folder>`. Then, to analyze results with `validphys`, see the [vp-guide](https://data.nnpdf.science/validphys-docs/guide.html#development-installs). Consider running the `vp-comparefits -i` command.
\ No newline at end of file
Loading