Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalidate infinite low and high bin limits if not underflow/overflow bins #56

Open
GraemeWatt opened this issue Feb 19, 2024 · 0 comments
Assignees
Labels

Comments

@GraemeWatt
Copy link
Member

We plan to soon support the encoding of underflow bins (e.g. {low: -.inf, high: 0}) and overflow bins (e.g. {low: 250, high: .inf}). See HEPData/hepdata#358 and HEPData/hepdata-converter#55. The validator should be extended to ensure that infinite bin limits are not given elsewhere. For example, assuming only one independent variable, a value of -.inf should only be allowed for the first low bin limit and a value of .inf should only be allowed for the last high bin limit, but not elsewhere. This could be implemented by extending the check_independent_variable_values function. The case of multiple independent variables is more complicated to check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To do
Development

No branches or pull requests

1 participant