This is a read-only mirror of pymolwiki.org

Difference between revisions of "Mset"

From PyMOL Wiki
Jump to navigation Jump to search
 
m
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
===DESCRIPTION===
 
===DESCRIPTION===
+
'''mset''' sets up a relationship between molecular states and movie frames.  This makes it possible to control which states are shown in which frame.
  "mset" sets up a relationship between molecular states and movie
+
 
  frames.  This makes it possible to control which states are shown
 
  in which frame.
 
 
 
===USAGE===
 
===USAGE===
   
+
  mset specification [ ,frame ]
  mset specification [ ,frame ]
+
 
 
 
===PYMOL API===
 
===PYMOL API===
<source lang="python">
+
<source lang="python">
  cmd.mset( string specification [, int frame] )
+
cmd.mset( string specification [, int frame] )
</source>
+
</source>
  
 
===EXAMPLES===
 
===EXAMPLES===
   
+
<source lang="python">
  mset 1        // simplest case, one state -> one frame
+
  mset 1        // simplest case, one state -> one frame
  mset 1 x10    // ten frames, all corresponding to state 1
+
mset 1 x10    // ten frames, all corresponding to state 1
  mset 1 x30 1 -15 15 x30 15 -1
+
mset 1 x30 1 -15 15 x30 15 -1
    // more realistic example:
+
  // more realistic example:
    // the first thirty frames are state 1
+
  // the first thirty frames are state 1
    // the next 15 frames pass through states 1-15
+
  // the next 15 frames pass through states 1-15
    // the next 30 frames are of state 15
+
  // the next 30 frames are of state 15
    // the next 15 frames iterate back to state 1
+
  // the next 15 frames iterate back to state 1
+
</source>
 +
 
 
===SEE ALSO===
 
===SEE ALSO===
+
[[Cmd mdo]], [[Cmd mplay]], [[Cmd mclear]]
  [[Cmd mdo]], [[Cmd mplay]], [[Cmd mclear]]
 
  
[[Category:Commands|mset]]
+
[[Category:Commands|Mset]]
 +
[[Category:States|Mset]]

Revision as of 14:16, 20 June 2009

DESCRIPTION

mset sets up a relationship between molecular states and movie frames. This makes it possible to control which states are shown in which frame.

USAGE

mset specification [ ,frame ]

PYMOL API

cmd.mset( string specification [, int frame] )

EXAMPLES

 mset 1         // simplest case, one state -> one frame
 mset 1 x10     // ten frames, all corresponding to state 1
 mset 1 x30 1 -15 15 x30 15 -1
   // more realistic example:
   // the first thirty frames are state 1
   // the next 15 frames pass through states 1-15
   // the next 30 frames are of state 15
   // the next 15 frames iterate back to state 1

SEE ALSO

Cmd mdo, Cmd mplay, Cmd mclear