Jump to navigation Jump to search
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 specification [ ,frame ]
cmd.mset( string specification [, int frame] )
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
cmd.mset("1 -%d" % cmd.count_states()) // this will create a one-to-one mapping of states to movie frames. useful for making movies from trajectory files.