-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Store shells in Neighbors Trajectory #444
Conversation
|
Pull Request Test Coverage Report for Build 1519730291
💛 - Coveralls |
I'm using |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
I have a totally different suggestion: How about storing only the vectors and indices, and make distances and shells functions? I am badly concerned by the amount of space this class could accidentally take by mistake (since we're talking about |
I see the issue, but at least for my application we're only talking about MB, so I always want to store this information. How about I put in a keyword argument to enable saving the "derived" data and only store vecs + indices as you proposed if it's not given? How easy is it to instantiate |
I guess this is the real solution that we should aim for, because I have the feeling that it's not Realizing all this is unfortunately not quite straightforward in the current format of |
Co-authored-by: Sudarsan Surendralal <surendralal@mpie.de>
I've benchmarked this and it's only marginally slower to also compute the shells additionally (maybe ~5%), so I'm always adding this because I want it for my calculations. If anyone thinks it's too much, I will make it configurable whether shells are included or not.