-
Hi all, I'm new to using freud so this is probably an extremely straightforward thing to do but I just can't figure it out. What I'm trying to do is get a general idea of how to calculate the nematic order parameter for each frame of the GSD trajectory file produced by a HOOMD simulation. The relevant bits of code are: After this I try: axes = [[1, 0, 0], [0, 1, 0], [0, 0, 1], [1, 1, 0], [1, 0, 1], [0, 1, 1], [1, 1, 1]] which returns 'compute() takes exactly 1 positional argument, 0 given'. Alternatively, I have tried to run If anyone could give me a hint with this, I'd appreciate it a lot! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Use This is documented in the GSD changelog and documentation for open. |
Beta Was this translation helpful? Give feedback.
Use
mode='r'
.This is documented in the GSD changelog and documentation for open.