[Chimera-users] adjusting threshold values on volume rendering

Tom Goddard goddard at sonic.net
Wed Jul 15 18:26:17 PDT 2015


v.set_parameters(solid_levels = [(3.5, 0), (5.1, .5), (10, 1.0)])

The pairs are map value and scale for brightness and opacity (0 = completely transparent, 1 = full brightness and opaque).

	Tom

> On Jul 15, 2015, at 5:55 PM, Dougherty, Matthew T  wrote:
> 
> Hi,
> 
> I can access threshold values from solid/volume rendering. eg:
>         from VolumeViewer import active_volume
>         v = active_volume()
>         if v==None:
>             return
>         levels = getattr(v, "solid_levels")
>         t,a=levels[0]
> 
> How can I change a threshold value?
> 
> 
> 
> 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>
> 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...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150715/ad4f8754/attachment.html>


More information about the Chimera-users mailing list