[Chimera-users] max density value using a script

Tom Goddard goddard at sonic.net
Thu Sep 6 13:45:38 PDT 2018


Hi Tamas,

Here is Python code that computes max/min of one map subtracted from another.  It assumes the maps are the same size and aligned.  If they are different sizes or not aligned it will need some different code to do interpolation of one of the maps.

	https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts/mapdiff.py <https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts/mapdiff.py>

More Chimera Python script examples are at

	https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts <https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts>

  Tom


> On Sep 6, 2018, at 2:34 AM, Tamas Hegedus wrote:
> 
> Hi,
> 
> I subtract two electron density maps and I would like to get the min and max density values of the resulted map. I can see these values in the GUI, but I would like to get them running chimera without a gui using a python script. (Without saving the final map into an .mrc file and reading the header of that file.)
> 
> Thanks for your help,
> Tamas
> 
> -- 
> Tamas Hegedus, PhD
> Senior Research Fellow
> Department of Biophysics and Radiation Biology
> Semmelweis University     | phone: (36) 1-459 1500/60233
> Tuzolto utca 37-47        | mailto:tamas at hegelab.org
> Budapest, 1094, Hungary   | http://www.hegelab.org
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu
> Manage subscription: 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/20180906/783333bd/attachment.html>


More information about the Chimera-users mailing list