[WIP] Dump PDF along fit and be able to analyze
Created by: wilsonmr
The aim of this branch is to get a sensible way to dump pdfs along the fit and then to be able to use those PDFs in validphys in the most lightweight way.
This would be useful for closure tests and potentially other pre-production fits to get more insight into what is happening during the fit
PR comprises of changing the fitting code to dump export grids during the fit, with sensible names and a wrapper script which takes those export grids and creates lhapdf files, symlinks them into the expected folder and then runs a validphys report filling in the pdfs
key to the symlinked dumped pdfs. The script ends by deleting all evidence that it was ran.
To do:
-
Make the dumping of PDFs controllable at the runcard level, a switch and frequency would be good -
Check the wrapper script works as intended -
also symlink relevant fits to extend the functionality of the dumped pdfs