[chimerax-users] Incrementing value in perframe

Tom Goddard goddard at sonic.net
Fri Nov 9 13:16:51 PST 2018


Hi Brandon,

  Use two range options on the perframe command 

	perframe “something $1 ; anotherthing $2” range 0,199  range 1,200

and use $1 and $2 to substitute in the two values for the two ranges.

	Tom


> On Nov 9, 2018, at 9:16 AM, Scott, Brandon L. <Brandon.Scott at sdsmt.edu> wrote:
> 
> I am attempting to use the measure convexity on each frame, and seem to have a mismatch between the frame number which goes from [0 - (N-1)] and the volume child which goes from [1 - N]. Is there a way to augment the $1 value to be $1+1?
> 
> Attached are the command calls.
> This displays the convexity properly on the called frame:
> vseries play #1  jumpTo 1;  measure convexity #1.2 smoothingIterations 12 palette cyan-gray-maroon range -1,1;
> 
> The does not display it because of the mismatch:
> movie record; perframe "vseries play #1 jumpTo $1; measure convexity #1.$1 smoothingIterations 12 palette cyan-gray-maroon  range -1,1;" range 1,200; wait 200; movie encode C:\Users\LLSM\Desktop\Convexity.mp4 quality highest framerate 25
> 
> Thanks in advance.
> -Brandon
> ____________________
> Brandon Scott, PhD
> SDSMT, Nanoscience
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu <mailto:ChimeraX-users at cgl.ucsf.edu>
> Manage subscription:
> http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users <http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20181109/022df742/attachment.html>


More information about the ChimeraX-users mailing list