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

yoda: add an option to switch off export of multidimensional objects #48

Open
GraemeWatt opened this issue Aug 4, 2022 · 0 comments
Open

Comments

@GraemeWatt
Copy link
Member

GraemeWatt commented Aug 4, 2022

Add an option like no_multi_dim that switches off export of Scatter3D objects (and possibly higher dimensions, see #47) and instead writes multiple Scatter2D objects, one for each independent variable. This was the behaviour of the YODA exporter in the old HepData site and it still makes sense for some tables.

Since a Scatter3D object would still be preferred for covariance matrices, the code could check the description for 'covariance', 'correlation' or 'matrix' and still write a Scatter3D object in these cases even if the no_multi_dim option is set. See https://gitlab.com/hepcedar/rivet/-/issues/318 .

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

No branches or pull requests

1 participant