NNPDF / pineko

PineAPPL + EKO ─➤ fast theories
https://pineko.readthedocs.io
GNU General Public License v3.0
2 stars 0 forks source link

Allow to run explicitly a grid / fktable #168

Open scarlehoff opened 5 months ago

scarlehoff commented 5 months ago

We are using now the nnpdf data and that's nice because you can define the datasets you want and get the fktables/grids automagically.

However, I think it would be nice to be able to say "I want all fktables I find doing ls grids/400/*". Specially for testing/debugging. Basically a --raw option that would bypass both the NNPDF autodiscovery and the yamldb.

felixhekhorn commented 5 months ago

but we still have the "file-based"-mode in game - and it is even top level, which we were challenging at some point (but haven't taken any action yet)

$ poe pineko convolute --help
Poe => pineko convolute --help
Usage: pineko convolute [OPTIONS] GRID_PATH OP_PATH FKTABLE MAX_AS MAX_AL

  Convolute PineAPPL grid and EKO into an FK table.

  GRID_PATH and OP_PATH are the path to the respective elements to convolute,
  and FKTABLE is the path where to dump the output.

all plain file paths there (to be fair it is not sufficient to just spell the grid)

just to be specific the discussion was to rename pineko convolute -> pineko file convolute and pineko theory fks -> pineko fks (names are open for discussion)

scarlehoff commented 5 months ago

My idea with this would be to go through the normal path (so generation of opcards and ekos and fonll if needed).

In practice (what I did it with bash before opening the issue) what I'd like is the same you would get if you "autogenerate" a <dataset>.yaml with FkTables: [[ <dataset> ]] as only content.