Why does the K index return only one value? #2705
Answered
by
dopplershift
ShareRingNS
asked this question in
Q&A
-
I passed in a multi-dimensional array but only returned a value. How can I return an array of the same size |
Beta Was this translation helpful? Give feedback.
Answered by
dopplershift
Oct 3, 2022
Replies: 1 comment 3 replies
-
Well, by definition |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
dopplershift
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well, by definition
k_index
takes a profile and returns a single value, so there's no way you can get output the same size as the input. I assume you mean you passed in a 3D grid and didn't get 2D output? Can you share some sample code showing what you tried? (Be sure to include the shape of the arrays, or better yet, links to the data you're using.)