Re: [PyMOL] distance from plane

2004-07-21 Thread Charlie Bond
Gareth Stockwell wrote: Hi Kristl, I'm not sure if PyMOL can do it, but it's not too hard to do a bit of vector algebra which gives the answer. Let the coordinates of the nitrogens be A, B, C, D, and the iron atom F. Compute the centre of your nitrogens: X = (A + B + C + D) / 4 Then you wor

Re: [PyMOL] distance from plane

2004-07-20 Thread Gareth Stockwell
Hi Kristl, I'm not sure if PyMOL can do it, but it's not too hard to do a bit of vector algebra which gives the answer. Let the coordinates of the nitrogens be A, B, C, D, and the iron atom F. Compute the centre of your nitrogens: X = (A + B + C + D) / 4 Then you work out a normal to the plan

[PyMOL] distance from plane

2004-07-20 Thread Kristl Adams
Hi Pymolers! Is there a way for me to define a plane of atoms say 4 Nitrogens in a heme complex and then determine how far out-of-plane the Fe atom is? If so either in Pymol or another program I'd love to know the secret. Thanks, Kristl kri...@physics.purdue.edu