
Hello Elaine, thanks a lot for prompt and useful advice ! Best wishes, Marek Dne Wed, 15 Jun 2011 19:08:38 +0200 Elaine Meng <meng@cgl.ucsf.edu> napsal/-a:
Hello Marek, It may be possible using per-frame scripting in MD Movie (in that tool's menu: Per-Frame... Define script). I've definitely shown frame number as a label for a trajectory, details below.
<http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/movie/framemovie.html> <http://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/movie/movie.html#per-frame>
The process would be something like: - figure out equation to convert frame number to time - per-frame script would use that equation and show result as a 2D label - record movie while the per-frame script is active
I think it would be necessary to do it in Python, to include the equation part, but the script dialog provides a way to use frame number in the script. The only part I am concerned about is whether the equation output (simulation time) has to be converted to a character string to be used as label contents.
I have definitely used this process to simply show the frame number as a label during the trajectory. That is done with a per-frame script of Chimera commands in the "Trajectory and Ensemble Analysis" tutorial, part 1: <http://www.cgl.ucsf.edu/chimera/docs/UsersGuide/tutorials/ensembles2.html>
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab Department of Pharmaceutical Chemistry University of California, San Francisco
On Jun 15, 2011, at 9:37 AM, Marek Maly wrote:
Hello all, Is it possible to create Chimera movie (MD trajectory animation) with simulation time labeled on the corner ? (Of course after I provide through some appropriate dialogue the time interval between two consequent frames). Thanks in advance for any hint ! Best wishes, Marek
-- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com/mail/