46 releases

1.0.0-alpha4 Apr 7, 2025
1.0.0-alpha2 Feb 15, 2025
0.8.7 Jan 22, 2025
0.8.6 Oct 18, 2024
0.1.0 Jun 11, 2020

#434 in Operating systems

Download history 36/week @ 2025-01-08 18/week @ 2025-01-15 165/week @ 2025-01-22 136/week @ 2025-01-29 178/week @ 2025-02-05 323/week @ 2025-02-12 77/week @ 2025-02-19 28/week @ 2025-02-26 64/week @ 2025-03-05 78/week @ 2025-03-12 320/week @ 2025-04-02 236/week @ 2025-04-09

559 downloads per month
Used in 2 crates

GPL-3.0-or-later

615KB
14K SLoC

Rust codecov Documentation crates.io

PineAPPL

PineAPPL is a library for recording and storing predictions for high-energy physics observables independently of their parton distribution functions.


lib.rs:

PineAPPL is not an extension of APPLgrid.

Overview

The main type of this crate is Grid, which represents the interpolation grids that PineAPPL implements. Roughly speaking, a Grid is a three-dimensional array of Subgrid objects together with metadata. The three dimensions are

  1. bins, whose limits can be accessed by Grid::bwfl(), and
  2. (perturbative) orders, represented by the type Order and accessible by Grid::orders(),
  3. channels, whose definition is returned by Grid::channels().

Subgrid is a trait and objects that implement it are of the type SubgridEnum. The latter is an enum of different types that are optimized to different scenarios: fast event filling, small storage profile, etc.

Metadata

Metadata is a collection of key--value pairs, in which both keys and values are String objects. In metadata anything a user whishes can be stored. However, there are special keys, which have meaning to PineAPPL and/or its CLI pineappl. This metadata enables the CLI to automatically generate plots that are correctly labeled, for instance. For more applications see also the CLI tutorial.

Dependencies

~3.5MB
~72K SLoC