NNPDF / pineappl

PineAPPL is not an extension of APPLgrid
https://nnpdf.github.io/pineappl/
GNU General Public License v3.0
13 stars 3 forks source link

Add new subcommand `subgrids` #56

Closed cschwan closed 2 years ago

cschwan commented 3 years ago

This subcommand should show technical information about the various subgrids:

cschwan commented 3 years ago

Commit https://github.com/N3PDF/pineappl/commit/4c4d08e031e55838b19303cb7221e79054877220 adds the preliminary version of it.

cschwan commented 3 years ago

Commit 4ae4df30b2cf81fa49f4d73aa53b62b83be8cd95 changes the default behaviour to not print empty subgrids, which can be printed if the new switch --show-empty is given.

felixhekhorn commented 3 years ago

part of the informations have an overlap with axes() - maybe expose simply that one?

cschwan commented 3 years ago

That's a good idea, although axes only works if the grid can be converted into an FkTable, whereas in general the grids can have different x values for different subgrids.

cschwan commented 2 years ago

With commits 678341e90378c568a1e32d395800df354c4f46f2, d26fc2b6d3374a8eaf04aa1d65df37ba30d4dd27 and 5a209b7b54343ca53f6931fb7f918baba6f59bad this is completed.