Different way to generate cubic lattices? #2566
jgostick
started this conversation in
Development
Replies: 1 comment
-
I have just done a quick time comparison, and the above approach is about 200x SLOWER than our current way! The The above is nice and concise, but the performance is just too poor for use in our cubic generator...however, it's still worth adding as a new type of random network generator. Instead of finding |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just stumbled across the
sklearn.neighbors.knearest
function. If this function is fast then it could be used to replace the current cubic/fcc/bcc generators, as follows:Beta Was this translation helpful? Give feedback.
All reactions