Protool/geometry.py
def CA_positions(self):
        """Return a numpy array of all CA distances"""
        CAs=[]
        atoms=self.atoms.keys()
        atoms.sort()
        for atom in atoms:
            if atom[-3:]==':CA':
                CAs.append(self.GetPosition(atom))
        return numpy.array(CAs)
Return a numpy array of all CA distances
Return a numpy array of all CA distances
Return a numpy array of all CA distances
def CA_positions(self):
        CAs=[]
        atoms=self.atoms.keys()
        atoms.sort()
        for atom in atoms:
            if atom[-3:]==':CA':
                CAs.append(self.GetPosition(atom))
        return numpy.array(CAs)
def CA_positions ( self ) : CAs = [ ] atoms = self . atoms . keys ( ) atoms . sort ( ) for atom in atoms : if atom [ - 3 : ] == ':CA' : CAs . append ( self . GetPosition ( atom ) ) return numpy . array ( CAs )
Return a numpy array of all CA distances
Return a numpy array of all CA distances
"""Return a numpy array of all CA distances"""
self