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

[FEATURE] Add the option to disable flow when using project #545

Open
chrispap95 opened this issue Oct 27, 2023 · 0 comments
Open

[FEATURE] Add the option to disable flow when using project #545

chrispap95 opened this issue Oct 27, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@chrispap95
Copy link

When projecting to an axis of a multi-dimensional histogram, the flow bins are always included.
This may be desired by default but it would be nice to be able to discard the flow bins.
For example, one might want to make a cut on one axis:

h_new = h_old[10j:50j, :, :, :]

and then check how the other variables look like after the cut:

h_new.project("axis_2")

This is going to be the same as h_old.project("axis_2") since flow is always included.
What I am suggesting is:

h_new.project("axis_2", flow=False)

which would show what happens to axis_2 after the cut on axis_0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant