AlphaSGrid¶
-
struct AlphaSGrid¶
A strong-coupling grid in the LHAPDF format, loaded from a file.
Holds the \(\alpha_s(q)\) knots of an LHAPDF
.infoset; RunningCoupling does the interpolation.Public Functions
-
AlphaSGrid(const std::string &file)¶
Load an LHAPDF-format
alpha_sgrid.- Parameters:
file – Path to the grid file.
-
std::size_t q_count() const¶
Number of scale knots.
-
std::vector<std::size_t> coefficients_shape(bool batch_dim = false) const¶
Shape of the coefficient tensor, optionally with a leading batch axis.
-
std::vector<std::size_t> logq2_shape(bool batch_dim = false) const¶
Shape of the
log(q^2)tensor.
-
void initialize_globals(ContextPtr context, const std::string &prefix = "") const¶
Upload the grid to
contextas compute-graph globals underprefix.
-
AlphaSGrid(const std::string &file)¶