[Chimera-users] vop binning

Thomas Goddard goddard at cgl.ucsf.edu
Mon Jun 21 15:18:25 PDT 2010


Hi Katrina,

   The vop command is written in Python code included with the Chimera 
distribution in directory

	chimera/share/VolumeFilter

(on Mac in Chimera.app/Contents/Resources/share/VolumeFilter).

   The code that actually sums the values for the bins is in bin.py in 
that directory.  Not very interesting.  Probably pretty complicated 
looking because it handles subregions, subsampling, variable bin size.

   If you give more details of the volume data analysis you are aiming 
for I might be able to give you some more relevant example code.  The 
Chimera Python scripts page might have something useful, for example, 
the iterpolate.py script:

http://plato.cgl.ucsf.edu/trac/chimera/wiki/Scripts

http://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts/interpolate.py

   Tom


> Hello -
> Is the volume data (vop) code available somewhere? Particulary the code
> for binning electron densities? I'm interested in looking at how chimera
> handles xplor files since I want to find the density of solvent at the
> edges of my grid. I would love to try to play with the volume code in
> order see if it can be done through chimera.
> Thank you,
> Katrina




More information about the Chimera-users mailing list