Skip to content

make sure that alphas and Q2 grids agree in alpha_s_bundle_pdf #2197

@RoyStegeman

Description

@RoyStegeman

The Q2grid of the alphas variation members in NNPDF40_an3lo_as_01180_mhou_pdfas is different from the Q2grid (and number of points in the alphas grid) in the .info file. This means that alphas cannot be computed for the error members.

To avoid this in the future, it should be checked that these grids are consistent.

The error can be reproduced as follows:

>>> import lhapdf
>>> pdf = lhapdf.mkPDF("NNPDF40_an3lo_as_01180_mhou_pdfas/101")
>>> pdf.alphasQ2(10)

Which then raises the error

RuntimeError: AlphaS value and Q interpolation arrays are differently sized

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions