focus over N frames
Hello, I wish to use "focus" command in a movie script. I focus on an atom range as following focus :4-6@CA I wish to bring the atoms in focus over N frames. How do I do this? Many thanks, Elena
Hi Elena, If you mean you want to move to that position gradually, you have to save that position beforehand and then use the “reset” command to gradually move from the current position to that previously saved position. You can save several different positions with different names using the “savepos” command and then use “reset” to move between them. Thus your starting position could also have been saved previously. For example, commands [and explanations]: savepos p1 [… now move or rotate the structure…] savepos p2 reset p1 [… that would go instantly to position p1 that you saved first ] reset p2 40 [… that would move gradually over 40 frames from the current position, which is p1, to position p2 ] <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/savepos.html> <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/reset.html> Or instead of “reset” to move to a single position at a time, you can use the “fly” command to visit a series of several positions more smoothly. <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/midas/fly.html> See the list of movie-related commands for all kinds of things that can be done over multiple frames: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#moviecommands> There are several examples of movie command files that script motions: <http://www.rbvi.ucsf.edu/chimera/docs/UsersGuide/movies.html#examples> I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On Mar 26, 2019, at 7:24 PM, Elena Zehr <zehr.elena@gmail.com> wrote:
Hello, I wish to use "focus" command in a movie script. I focus on an atom range as following
focus :4-6@CA
I wish to bring the atoms in focus over N frames. How do I do this? Many thanks, Elena
participants (2)
-
Elaine Meng
-
Elena Zehr