[Chimera-users] scripting & density
goddard at sonic.net
Fri May 12 10:07:47 PDT 2017
You would use vop threshold to make a map that has only the values 50-74 and then subtract it from the original map, and repeat with the range 90-110.
vop thresh #0 min 50 set 0 max 74 setmax 0
vop subtract #0 #1
> On May 12, 2017, at 8:42 AM, Dougherty, Matthew T <matthewd at bcm.edu> wrote:
> I have a dataset, its values are 1-255. I would like to modify the density values using a script.
> Specifically, I would like to set density values 50-74 & 90-110 to the value of zero.
> Is there a way to do that using scripting, or do I need to do that using python?
> Matthew Dougherty
> National Center for Macromolecular Imaging
> Baylor College of Medicine
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users