AlphaSGrid

class madspace.AlphaSGrid(self: madspace._madspace_py.AlphaSGrid, file: str)

Bases: pybind11_object

A strong-coupling grid in the LHAPDF format, loaded from a file.

Holds the \(\alpha_s(q)\) knots of an LHAPDF .info set; RunningCoupling does the interpolation.

Load an LHAPDF-format alpha_s grid.

Parameters:

file – Path to the grid file.

coefficients_shape(self: madspace._madspace_py.AlphaSGrid, batch_dim: bool = False) → list[int]

Shape of the coefficient tensor, optionally with a leading batch axis.

initialize_globals(self: madspace._madspace_py.AlphaSGrid, context: madspace._madspace_py.Context, prefix: str = '') → None

Upload the grid to context as compute-graph globals under prefix.

property logq2

log(q^2) grid knots.

logq2_shape(self: madspace._madspace_py.AlphaSGrid, batch_dim: bool = False) → list[int]

Shape of the log(q^2) tensor.

property q

Scale grid knots.

property q_count

Number of scale knots.

property region_sizes

Knot counts of the sub-grid regions.

property values

alpha_s values at the knots.