Closed cschwan closed 2 years ago
This really isn't the job of PineAPPL, we should use R
, numpy
or similar tools/libaries for that.
I guess we can just consider to expose more API to also modify the grid (at the moment is possible to cut bins, but I don't know about anything else).
In the meantime we have Grid::scale_by_bin
, but I'm not sure there's a Python wrapper yet.
Oh yeah, you are right: I did it myself and forgot https://github.com/N3PDF/pineappl/issues/148#issuecomment-1159107258
We need the possibility to easily multiply the convoluted results with some factors, see for instance https://github.com/NNPDF/pineko/issues/63.