Skip to content
/ mp3 Public

Analyse and manipulate molecular dynamics simulation trajectories.

Notifications You must be signed in to change notification settings

rkdarst/mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


WARNING: when saving a copy of dcd.frame (or any frame object), use
savedframe = self.frame.copy() !!!  Numarray is smart enough to just
make a reference to the original one, and when I update the frame, it
updates it in-place, so your saved copy will change, too.

>>> a=mp3.dcd()
>>> a.nextframe()
>>> saved_frame = a.frame
>>> a.nextframe()
>>> id(a.frame)
136382236
>>> id(saved_frame)
136382236

use saved_frame = self.frame.copy() to make this work.

About

Analyse and manipulate molecular dynamics simulation trajectories.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages