Rotate map about arbitrary vector

191 views
Skip to first unread message

nancy meyer

unread,
Dec 22, 2016, 6:44:59 PM12/22/16
to EMAN2
Hi all,

I'm trying to rotate my map about a given vector (about which I have have some symmetry). If I could align this vector to z, it seems in IMOD I could use rotvol to rotate about z the desired amount, and then just align z back to original vector. I don't know if this is the most efficient way... does anyone know if this is do-able, or know of a better way rotate about a non-x,y,z axis? 

I have also tried e2proc3d.py --rot but I suspect my angles are not in the proper convention, and I'm not confident that's the way to go.

Thank you for any input!

Best,
Nancy

Steve Ludtke

unread,
Dec 22, 2016, 7:30:30 PM12/22/16
to em...@googlegroups.com
Hi Nancy,


e2proc3d.py map.mrc rotated.hdf --rot spin:n1=1:n2=1:n3=1:omega=12

e2help.py rotation -v 2

--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2

---
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

nancy meyer

unread,
Dec 24, 2016, 3:29:09 PM12/24/16
to EMAN2
Hi Steve,

Thanks so much. I seem to get some unexpected results using e2proc3d.py --rot spin:n1=x:n2=y:n3=z:omega=degrees (e.g. some angle values give expected rotation, larger ones seem to increase the size of the density itself). Haven't figured what I'm doing wrong there yet. HOWEVER, using --rot spider: option worked just great. Thank you again for the answer. Happy holidays!

Very best,
Nancy

Steve Ludtke

unread,
Dec 24, 2016, 8:48:20 PM12/24/16
to em...@googlegroups.com
Hi Nancy. Merry X-mas.  I believe the x/y/z vector has to have unit length to work properly (?), so my example was a bad one...

nancy meyer

unread,
Dec 26, 2016, 2:57:03 PM12/26/16
to EMAN2
Yup! Unit vectors work great with the --rot spin: option. Thanks again!

Steven Ludtke

unread,
Jan 5, 2017, 3:17:32 PM1/5/17
to em...@googlegroups.com
Hi Nancy, 
Sorry to raise this again. I'm a bit puzzled by this rotation issue, because in theory this problem (passing in non unit-length rotation vectors) was fixed in May last year.  Is your EMAN version very out of date?
Reply all
Reply to author
Forward
0 new messages