Releases: NNPDF/pineappl
Releases · NNPDF/pineappl
v0.5.6
0.5.6 - 04/10/2022
Added
- added
--dis-pid
switch toimport
subcommand - added
--no-optimize
switch toimport
subcommand
Changed
- improved documentation
- changed
--silence-fastnlo
to--silence-libraries
, which now silences also APPLgrid - improved
import
converter, which now is able to convert most APPLgrids and fastNLO tables on ploughshare
Fixed
- fixed corner cases of the
REMAPPING
string that were handled incorrectly - made most tests of
pineappl
integration tests, which resolves that problem thatcargo build
had to be called before - fixed problem in
Grid::convolute_eko
that lead to wrong result when subgrids had different x-grids
v0.5.5
0.5.5 - 25/08/2022
Added
- added support for choosing a specific member instead of the averaging over all PDFs for the central results for the
pdfunc
,plot
andpull
subcommands. For instance,pineappl pdfunc ... NNPDF40_nnlo_as_01180
calculates the central value using the average over all replicas, whereaspineappl pdfunc ... NNPDF40_nnlo_as_01180/0
uses the zeroth member. The calculated uncertainties are the same for both - added support for converting APPLgrids in
import
- added support plotting asymmetries with
pineappl plot
- added new function to the C API,
pineappl_grid_clone
, which clones a given grid
Changed
- renamed the switch
--silence-fastnlo
to--silence-libraries
, which also covers APPLgrid. For backwards compatibility the previous name still works
v0.5.4
0.5.4 - 08/07/2022
Added
- added new switch
--force-positive
to CLI to cut out negative PDF values - exposed scale variation parameters to the Python API
- added the C functions
pineappl_grid_key_value
to read out metadata andpineappl_string_delete
to delete string allocated from the previous function
v0.5.3
0.5.3 - 22/06/2022
Added
- added new switch
--ignore-bin-limits
todiff
that ignores possibly different bin limits. However, the number of total bins must still be the same between both grids - added support for FK tables in the subcommand
import
- added new switches
--digits-abs
,--digits-rel
and--digits
to various subcommand to influence the number of (fractional) digits printed - PDF relabeling support has been added. This means that all subcommands understand PDF specifications of the type
pdfset=label
, wherepdfset
must be an LHAPDF identifier, and results using this set are displayed usinglabel
instead ofpdfset
. - added bin-dependent rescaling method. To use it through the CLI use
pineappl ops --scale-by-bin=
Changed
- slightly changed the output of the CLI; indices of orders, bins and luminosities are now consistently abbreviated by
o
,b
andl
- changed the output of the CLI to also print the units of the numbers
v0.5.3-beta.2
Release v0.5.3-beta.2
v0.5.3-beta.1
v0.5.3-beta.1
v0.5.3-beta
v0.5.3-beta
v0.5.2
v0.5.1
0.5.1 - 01/03/2022
Added
- added the
--bins
option to the CLI subcommandsum
, which allows to sum bins together - added the
--fk-table
option to the CLI subcommandoptimize
, which allows the optmization of FK tables based on assumptions of heavy-flavor PDFs - added new subcommand
ops
which collects various modifying operations on grids. The switches--cc1
and--cc2
charge conjugate the first and second PDF, respectively, and charge conjugates the luminosity function correspondingly such that the convolutions are unchanged
Changed
- when running
pineappl convolute ... -s 1
the scale-variation columns are no longer shown. The output would be zero, but this doesn’t make sense. All other values of-s
are unaffected. - added a further optimization to
Grid::optimize
that strips empty orders
Fixed
- fixed
pineappl obl --bins
, which had the wrong column headers if there were more than one observable
v0.5.0
0.5.0 - 11/02/2022
Added
- added support for DIS processes, which feature only a single hadron in the initial state
- added new C API function
pineappl_grid_set_remapper
- added new subcommand
sum
to sum over bins of a grid - added new subcommand
pull
to view where the differences between two PDF sets are coming from - added an example program using the C API to convert fastNLO tables (of type
fastNLOCoeffAddFix
). Tables of typefastNLOCoeffAddFlex
are not supported yet - added a new switch
--subgrid-pull
to theplot
subcommand; this generates several plots showing the where the pull between two PDFs comes from inx1
andx2
, and also in rapidityy
and invariant massM
- improved the
optimize
method such that it removes all entries of a luminosity function that are empty across orders and bins. This required a change inmerge
, which now allows the merge of grids with different luminosities and orders - enabled relabeling PDF sets, which means that they can now specified as
LHAPDF-set-name=label
, which uses the setLHAPDF-set-name
to load it from LHAPDF, butlabel
is the name that appears in the plot legend - added new options to the
subgrids
command:--muf
,--mur
,--x1
and--x2
to print the corresponding grid values and--stats
to print information about the space requirements of the subgrid type - added new subcommand
--delete
, which allows to delete bins from a grid - added new subcommand
obl
, which stands for orders (o), bins (b) and lumis (l), that shows information about the all contained subgrids in a grid;pineappl obl -l
will replacepineappl lumis
in the future - added options
--orders1
,--orders2
,--scale1
and--scale2
to the subcommandpineappl diff
, which allow the selection of orders and scaling of grids that should be compared
Changed
- The command-line interface
pineappl
no longer prints both the differential and integrated cross sections. Instead it either prints the differential cross sections, or, if the switch-i
or--integrated
is given, the integrated cross sections (without bin limits and/or normalizations) are printed - the C API functions
pineappl_subgrid_q2_slice
,pineappl_subgrid_filled_q2_slices
andpineappl_subgrid_replace_and_delete
have been replaced bypineappl_grid_export_q2_slice
,pineappl_grid_nonzero_q2_slices
andpineappl_grid_replace_and_delete
, respectively. - the C API function
pineappl_subgrid_fill_q2_slice
has been replaced by functionpineappl_subgrid_import_q2_slice
- the C API function
pineappl_subgrid_new
has been replaced by a function with the similar name but different arguments - changed the output of the
pineappl
subcommandchannels
,convolute
andpdf_uncertainty
. By default only the differential cross sections are shown (integrated numbers divided by bin widths), but the flag-i
or--integrated
can be given to switch to the integrated numbers, which are not divided by bin widths. - slightly improved file sizes by introducing a type for empty subgrids:
EmptySubgridV1
- vastly improved the output of the
plot
subcommand: bounding boxes are properly calculated now, added support for higher-dimensional distributions - changed the
plot
subcommand such that the legend is put in between panels, thereby producing less overlapping elements - replaced the C API functions
pineappl_subgrid_new
andpineappl_subgrid_import_q2_slice
withpineappl_subgrid_new2
andpineappl_subgrid_import_mu2_slice
, respectively. The latter support independent renormalization and factorization scales - changed the names of
pineappl_grid_export_q2_slice
andpineappl_grid_nonzero_q2_slices
topineappl_grid_export_mu2_slice
andpineappl_grid_nonzero_mu2_slices
, respectively - replaced C API-based Python interface with PyO3-based one
- the subcommand
subgrids
now does not print empty grids; the old behavior can be restored with the new switch--show-empty
pineappl diff
now behaves differently whenever luminities are different and errors out when this is the case. This can be adjusted using--ignore-lumis