Re: [chimerax-users] [Chimera-users] Get rotation between two views?

Hi Oliver, Not exactly -- the closest thing I can think of is ChimeraX command "view matrix" but then you'd have to figure it out by comparing the camera matrices given for the two views, if that's even possible. <https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix> When I make figures that differ by N-degree rotation I have to just save one view, then use a command to make that exact rotation, and then save another view before saving the session. I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On May 10, 2022, at 8:50 AM, Oliver Clarke via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:
Hi, In either Chimera or X, is there a way to obtain the orientational relationship between two views?
E.g. if I have two views saved, I would like to be able to say "view 1 is related to view 2 by a 45deg rotation about X and a 25deg rotation about Y" - this would be very useful for figure making/writing purposes. Does this exist?
Cheers Oli

Thanks Elaine! Yes, when two views are related by a simple rotation that is what I do too - for more complicated cases it might be useful to have a function to get the view difference between two saved views in terms of rotations around the X,Y,Z axes. Cheers Oli
On May 10, 2022, at 12:59 PM, Elaine Meng <meng@cgl.ucsf.edu> wrote:
Hi Oliver, Not exactly -- the closest thing I can think of is ChimeraX command "view matrix" but then you'd have to figure it out by comparing the camera matrices given for the two views, if that's even possible.
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix>
When I make figures that differ by N-degree rotation I have to just save one view, then use a command to make that exact rotation, and then save another view before saving the session.
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On May 10, 2022, at 8:50 AM, Oliver Clarke via Chimera-users <chimera-users@cgl.ucsf.edu> wrote:
Hi, In either Chimera or X, is there a way to obtain the orientational relationship between two views?
E.g. if I have two views saved, I would like to be able to say "view 1 is related to view 2 by a 45deg rotation about X and a 25deg rotation about Y" - this would be very useful for figure making/writing purposes. Does this exist?
Cheers Oli

Hi Oliver, you can use SSM or LSQ superposition, and report the Omega angle (in crystallography suites). best Vincent Le 10/05/2022 à 19:08, Oliver Clarke via ChimeraX-users a écrit :
Thanks Elaine!
Yes, when two views are related by a simple rotation that is what I do too - for more complicated cases it might be useful to have a function to get the view difference between two saved views in terms of rotations around the X,Y,Z axes.
Cheers Oli
On May 10, 2022, at 12:59 PM, Elaine Meng<meng@cgl.ucsf.edu> wrote:
Hi Oliver, Not exactly -- the closest thing I can think of is ChimeraX command "view matrix" but then you'd have to figure it out by comparing the camera matrices given for the two views, if that's even possible.
<https://rbvi.ucsf.edu/chimerax/docs/user/commands/view.html#matrix>
When I make figures that differ by N-degree rotation I have to just save one view, then use a command to make that exact rotation, and then save another view before saving the session.
I hope this helps, Elaine ----- Elaine C. Meng, Ph.D. UCSF Chimera(X) team Department of Pharmaceutical Chemistry University of California, San Francisco
On May 10, 2022, at 8:50 AM, Oliver Clarke via Chimera-users<chimera-users@cgl.ucsf.edu> wrote:
Hi, In either Chimera or X, is there a way to obtain the orientational relationship between two views?
E.g. if I have two views saved, I would like to be able to say "view 1 is related to view 2 by a 45deg rotation about X and a 25deg rotation about Y" - this would be very useful for figure making/writing purposes. Does this exist?
Cheers Oli
_______________________________________________ ChimeraX-users mailing list ChimeraX-users@cgl.ucsf.edu Manage subscription: https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
-- Vincent Chaptal, PhD Director of GdR APPICOM Drug Resistance and Membrane Proteins Lab MMSB -UMR5086 7 passage du Vercors 69007 LYON FRANCE +33 4 37 65 29 01 http://www.appicom.cnrs.fr http://mmsb.cnrs.fr/en/
participants (3)
-
Elaine Meng
-
Oliver Clarke
-
vincent Chaptal