Swap libNNPDF LHAPDFSet for a python PDF object
Created by: scarlehoff
Final step of #1472, with the previous changes this is just a drop-in replacement. At least from the point of view of the tests nothing changes (the test will fail because the effective exponent for smallx
for t3
changed).
The only thing missing from here in order to close fully #1472 is how to avoid having to run the convolution twice to get the central value for observable predictions (which is a factor of x2 every time one tries to get a prediction). See issue #1502 (closed) for more on this.
Note that a legacy_load
is still left there because the filter.py
uses a PDF for MakeClosure
.