[Chimera-users] Divided the Volume Data into two parts

Elaine Meng meng at cgl.ucsf.edu
Fri Aug 23 09:19:44 PDT 2019


Hi Huiya,
Our volume programming expert is away right now, so I can only suggest looking at the files and links Conrad and I sent in the replies to your earlier message.

I am pretty sure that there is nothing in the Chimera code to save a picture of its histograms.  Instead you would probably need to use some screenshot feature of your computer.

For future reference:  it would probably be better if you send python programming questions to the chimera-dev at cgl.ucsf.edu mailing list instead of this chimera-users address.

<http://www.rbvi.ucsf.edu/chimera/docs/feedback.html>

Best,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco

> On Aug 23, 2019, at 8:37 AM, Huiya Zhou <huiya at tamu.edu> wrote:
> 
> Hello,
> 
> I would like to divided a density map (volume data) into two parts. For example, the size of the whole density map is 320*320*320. I want to get one part which covers the region from (i,j,k) to (x,y,z), e.g. from (0,0,0) to (100,100,100). The rest is the other part. The transparency for the first part is 0 and for the second part is 0.5. And I still want to get the histogram of the first part.
> How could I achieve this in a python script?
> 
> Actually, I want to get the histogram of different regions. I plan to run a loop for different regions (Change the (i,i,k) and (x,y,z) for the first part). Could I save all of the histograms in one file which is not a window of the Chimera but a picture.
> 
> Best,
> Huiya





More information about the Chimera-users mailing list