hoomd.run(1000)system = system.data.system_data.take_snapshot(all=True)TypeError: unbound method take_snapshot() must be called with system_data instance as first argument (got nothing instead)
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.
To post to this group, send email to hoomd...@googlegroups.com.
Visit this group at https://groups.google.com/group/hoomd-users.
For more options, visit https://groups.google.com/d/optout.
Yes, VMD can read hoomd XML files. It does not care if you write them out from hoomd or create them by some other means. "vmd -hoomd file.xml file.dcd"You cannot call take_snapshot directly. You need to save a system data object "system = init.read_...(....)" and later use it: "snap = system.take_snapshot". There is nothing special about the name "system" it is a variable name that you assign in your script.
------
Joshua A. Anderson, Ph.D.
Research Area Specialist, Chemical Engineering, University of Michigan
Phone: 734-647-8244
http://www-personal.umich.edu/~joaander/
On Tue, Aug 30, 2016 at 6:20 PM, Michael Goytia <goy1...@gmail.com> wrote:
Hello,I am trying to figure out how to visualize results for the new version of HOOMD.I was first trying to make my own .xyz file at the end of the simulation so afterhoomd.run(1000)
I then runsystem = system.data.system_data.take_snapshot(all=True)Which I'm hoping store all data about particles in the variable system. However I get the error.TypeError: unbound method take_snapshot() must be called with system_data instance as first argument (got nothing instead)
I am not sure how to define a variable in order to get the the positions from this snapshot. Once I get that information I want to make .xyz file. I then want to used a dcd file. Can hoomd.dump.dcd be used with a .xml or .xyz in order to visualize results in VMDThanks,Michael Goytia
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "hoomd-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to hoomd-users+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "hoomd-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/hoomd-users/Y02jRAzJ6Vw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to hoomd-users+unsubscribe@googlegroups.com.