Kinetic energy of the pdf
Created by: scarlehoff
This PR adds the kinetic energy of the PDF as two new actions:
plot_pdfs_kinetic_energy
plot_pdfreplicas_kinetic_energy
Example of a resulting report: https://vp.nnpdf.science/IixzVlnyQX2wi9ACRPeniQ==/
I'm using #1605 to get the derivative and then these create the kinetic energy PDF.
To get the correct label I've added a process_label
method to the XPlottingGrid
which the PDFPlotter will call before generating the ylabel
. This is quite generic so it might be helpful for future things.
The addition of KineticXPlottingGrid
just to get a label might be too much though but I am not sure how to do it more cleanly.