copy in a file the distance on the screen

Dear Users, When analyzing a trajectory file, I would like to monitor a distance (or series of distances) and save it to a file for each frame (getting a time series). I can do it but the values remain on the screen only! I am sure there is a simple script for making this. Thanks for any answer. Best wishes. Fabriceg

Hi Fabrice, I've attached a Python script below, that you can use in the "Define Script" MD Movie dialog to print any distances you're monitoring to the reply log. The Reply Log has a Save button which you can use to save the output into a file. --Eric Eric Pettersen UCSF Computer Graphics Lab http://www.cgl.ucsf.edu On Feb 24, 2009, at 1:41 AM, fabriceg@univ-reunion.fr wrote:
Dear Users, When analyzing a trajectory file, I would like to monitor a distance (or series of distances) and save it to a file for each frame (getting a time series). I can do it but the values remain on the screen only! I am sure there is a simple script for making this. Thanks for any answer. Best wishes. Fabriceg
participants (2)
-
Eric Pettersen
-
fabriceg@univ-reunion.fr