-
Notifications
You must be signed in to change notification settings - Fork 39
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
Possible workspace.json file submission + symerrors submission #252
Comments
Thanks for the message. Let me try to answer your questions.
I assume that the Another idea (#98) would be for
At the moment, yes, but there's another long-standing open issue #99 to allow
That tutorial is specific to input data in the form of Scikit-HEP histograms. Check the other examples for more general usage. See also the documentation at https://hepdata-lib.readthedocs.io/en/latest/usage.html and in particular the Uncertainties section.
Try something like: var1 = Variable("W+jets", is_binned=False)
var1.values = [4.71, 30.95, 73.35]
unc1 = Uncertainty("A symmetric uncertainty", is_symmetric=False)
unc1.values = [2.18, 6.61, 15.77]
var1.add_uncertainty(unc1) The Please close this issue once your problems are resolved. |
Hi Graeme, thank you a lot! |
Yes, you can use the |
Is it possible to submit the workspace.json as a 'one separate submission' for the HEPData?
Since looking at the examples of submitted data the workspace files are only in the additional_resources in the submission.yaml file.
And is ROOT a mandatory dependency for the hepdata_lib?
Also for me the uncertainties submission is a bit tricky.
I was using this tutorial which provides a nice explanation of how to create the tables for the submission.
And the uncertainties, were added by
hist.intervals.poisson_interval(s, s2)
, not just as a list of numbers.In my case I only have a symerrors (+/-) which are located in a list/dictionary, what is the way of submitting them?
Or should it be better just to have a values already as a dictionary? Since the:
Gives such an error:
'Table' object has no attribute 'add_uncertainty'
@clelange
The text was updated successfully, but these errors were encountered: