Re: [PyMOL] on axis of the subunit

2015-12-01 Thread Spencer Bliven
Note that the elbow formula assumes that the two vectors are normalized. Remember the dot product equation = |x| * |y| * cos( theta ) -Spencer On Tue, Dec 1, 2015 at 4:34 AM Sampson, Jared M. wrote: > Hi Smith - > > Check out how I did it in the h

Re: [PyMOL] on axis of the subunit

2015-11-30 Thread Sampson, Jared M.
Hi Smith - Check out how I did it in the http://pymolwiki.org/index.php/Elbow_angle script. As long as you have the vectors, the angle is easy. In particular, have a look at this line: elbow = int(numpy.degrees(numpy.arccos(numpy.dot(direction_v, direction_c i.e. the angle (in radi

Re: [PyMOL] on axis of the subunit

2015-11-30 Thread Sampson, Jared M.
Hi Smith - I’m not quite sure what you mean by "axis of a subunit." If you mean the principal axis of that selection of atoms, `orient my_selection` will get it aligned along one of the axes. Then you can create pseudoatoms on that axis and create a dash between them with the distance command

[PyMOL] on axis of the subunit

2015-11-29 Thread Smith Liu
Dear All, Will you please show me how to display an axis of a subunit or a domain by pymol? Smith-- ___ PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net) Info Page