Struct pineappl::fk_table::FkTable

source ·
#[repr(transparent)]
pub struct FkTable { /* private fields */ }
Expand description

Structure implementing FK tables. These are special Grids, for which the following additional guarantees are given:

  • all subgrids of the grid evaluate the PDFs at a single factorization scale given by FkTable::muf2.
  • all subgrids, for both hadronic initial states (if both initial states are hadronic), share the same x grid. See FkTable::x_grid.
  • the luminosity function is simple, meaning that every entry consists of a single pair of partons with trivial factor 1.0, and all tuples are distinct from each other. See Grid::lumi.
  • the FK table’s grid contains only a single Order, whose exponents are all zero.

Implementations§

Returns the Grid object for this FkTable.

Returns the FK table represented as a four-dimensional array indexed by bin, lumi, x1 and x2, in this order.

Returns the number of bins for this FkTable.

Extract the normalizations for each bin.

Extract the number of dimensions for bins.

Extract the left edges of a specific bin dimension.

Extract the right edges of a specific bin dimension.

Access meta data

Returns the (simplified) luminosity function for this FkTable. All factors are 1.0.

Returns the single muf2 scale of this FkTable.

Returns the x grid that all subgrids for all hadronic initial states share.

Propagate write to grid

Errors

TODO

Propagate write_lz4 to Grid.

Errors

See Grid::write_lz4.

Propagate convolute to grid

Set a metadata key-value pair

Optimizes the storage of FK tables based of assumptions of the PDFs at the FK table’s scale.

Panics

TODO

Trait Implementations§

The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.