Hi Peter,

I'm attaching example code that does it.

Pavel

On 7/2/19 00:13, Peter Schmidtke wrote:
Hi all,
 
I'm trying to find sample code or documentaiton on how to do the following: 
 
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. 
 
Thanks in advance for your help
 
Peter Schmidtke