ivr Posted July 1, 2019 Share Posted July 1, 2019 Hello, everyone! I need the result of some calculations done in a Python node in other parts of my network. I am doing a singular value decomposition using the NumPy package. I am getting two 3x3 matrices for each particle in my system.Storing them on the particles seems like a bad idea as they are 3x3 matrices and I am already storing other matrices and vectors on my particles. Is there a way a way I could recall those results further in the network, especially in Attribute Wrangles? Quote Link to comment Share on other sites More sharing options...
anim Posted July 1, 2019 Share Posted July 1, 2019 (edited) just pass them as attributes, if they are really per particle, that may be the most efficient if it's less data you can always just create point per data and still store on points, then access them from that geo, which doesn't have to be your main branch dirty, potentially dangerous, maybe even slow way could be to set data as user data on the node and read in another node downstream using Python, wouldn't do it for lots of data though, or probably ever Edited July 1, 2019 by anim Quote Link to comment Share on other sites More sharing options...
ivr Posted July 1, 2019 Author Share Posted July 1, 2019 (edited) Thank you, Tomas! I'll consider point per data if my slowing down problems become overwhelming and I'll stay away from user data! Edited July 1, 2019 by ivr Quote Link to comment Share on other sites More sharing options...
anim Posted July 2, 2019 Share Posted July 2, 2019 7 hours ago, ivr said: I'll stay away from user data! I mean user data is great for storing metadata on nodes, I just meant be mindful about when and how you use them Quote Link to comment Share on other sites More sharing options...
ivr Posted July 2, 2019 Author Share Posted July 2, 2019 I'll keep that in mind! Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.