How to sum a three-dimensional data along a certain coordinate axis to obtain a two-dimensional data #19496
Answered
by
markcmiller86
ofsea
asked this question in
Help using VisIt
-
Hello everyone! I would like to know if visit can achieve the following requirements: I have a three-dimensional scalar data, and I hope to sum the scalar values of each point on the axis along the z-axis to obtain a two-dimensional path integral data. In theory, similar functions can be achieved using python or other programs, so I want to know if visit can implement it conveniently. Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Answered by
markcmiller86
May 7, 2024
Replies: 1 comment 7 replies
-
I think you want to use a Data Binning operation.
|
Beta Was this translation helpful? Give feedback.
7 replies
Answer selected by
markcmiller86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think you want to use a Data Binning operation.
<mesh your variable is defined on>
X
andNumber of bins
(>= number of mesh nodes in X) forDimension 1
andY
andNumber of bins
(>= number of mesh nodes in Y) forDimension 2
of the operationAverage
forReduction Operator
Mesh
forOutput on