<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Hi Tamas,</div><div class=""><br class=""></div>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.<div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts/mapdiff.py" class="">https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts/mapdiff.py</a></div><div class=""><br class=""></div><div class=""><div>More Chimera Python script examples are at</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts" class="">https://plato.cgl.ucsf.edu/trac/chimera/attachment/wiki/Scripts</a></div><div><br class=""></div><div> Tom</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 6, 2018, at 2:34 AM, Tamas Hegedus wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi,<br class=""><br class="">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.)<br class=""><br class="">Thanks for your help,<br class="">Tamas<br class=""><br class="">-- <br class="">Tamas Hegedus, PhD<br class="">Senior Research Fellow<br class="">Department of Biophysics and Radiation Biology<br class="">Semmelweis University | phone: (36) 1-459 1500/60233<br class="">Tuzolto utca 37-47 | <a href="mailto:tamas@hegelab.org" class="">mailto:tamas@hegelab.org</a><br class="">Budapest, 1094, Hungary | <a href="http://www.hegelab.org" class="">http://www.hegelab.org</a><br class="">_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>