Data binning based on variable instead of x, y, z? #1139
-
Is it possible to do data binning based on two variables, rather than based on an axis and a variable? What I'm looking for is just like what can be done in VisIt with the DataBinning operator, using the scripting interface to set the I don't see an example in the Ascent docs that does this, so maybe it's not possible in Ascent. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @BenWibking yes this is supported. One constraint is that the binning vars must have the same centering (or association) to the mesh. So you may need to add a recenter pipeline filter if your centerings differ. We did not have tests that exercise or demonstrate this, so I created the following PR: If the details of the PR are too dense, here is the equivalent yaml example for a binning query with a recentered input:
And here is the binning result from the ascent info:
There is also a test that shows how to do this with a binning filter vs a query. |
Beta Was this translation helpful? Give feedback.
Hi @BenWibking yes this is supported.
One constraint is that the binning vars must have the same centering (or association) to the mesh.
So you may need to add a recenter pipeline filter if your centerings differ.
We did not have tests that exercise or demonstrate this, so I created the following PR:
#1140
If the details of the PR are too dense, here is the equivalent yaml example for a binning query with a recentered input: