<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Cool,<div class=""><br class=""></div><div class="">thanks a lot Pavel,</div><div class=""><br class=""></div><div class="">I’ll try to understand that a bit further. From what I can see, I could very well also read the A and B.ccp4 from an outside file and use the same subsequent code to run the super positioning, right?</div><div class=""><br class=""></div><div class="">Thanks again, that’s really helpful.</div><div class=""><br class=""></div><div class="">Peter</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 2 Jul 2019, at 21:09, Pavel Afonine <<a href="mailto:pafonine@lbl.gov" class="">pafonine@lbl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
Hi Peter,<br class="">
<br class="">
I'm attaching example code that does it.<br class="">
<br class="">
Pavel<br class="">
<br class="">
<div class="moz-cite-prefix">On 7/2/19 00:13, Peter Schmidtke wrote:<br class="">
</div>
<blockquote type="cite" cite="mid:trinity-9b44fd06-ac1e-4b54-ac2a-50dd45186b05-1562051615236@3c-app-gmx-bs30" class="">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" class="">
<div style="font-family: Verdana;font-size: 12.0px;" class="">
<div class="">Hi all,</div>
<div class=""> </div>
<div class="">I'm trying to find sample code or documentaiton on how to
do the following: </div>
<div class=""> </div>
<div class="">I have a density map and a rotation/translation matrix
(numpy matrix) and I'd like to apply it to the density map at
hand and write the transformed map again. I know that phenix
allows to superimpose structures and underlying densities but
I couldn't find how to do this programatically with cctbx. </div>
<div class=""> </div>
<div class="">Thanks in advance for your help</div>
<div class=""> </div>
<div class="">Peter Schmidtke</div>
</div>
<br class="">
</blockquote>
<br class="">
</div>
<span id="cid:54679D33-CC24-4AA6-A83B-F8C818C3FD77"><pheA.pdb></span><span id="cid:0AB314DD-1CAB-4014-9962-E929A0376639"><pheB.pdb></span><span id="cid:38196BED-A19B-4646-8AD4-CC48FD1921B8"><run.py></span></div></blockquote></div><br class=""></div></body></html>