Function: computeRamachandran()
computeRamachandran(
residues):RamachandranPoint[]
Defined in: src/mobjects/molecular/ramachandran.ts:131
Compute the φ/ψ angles for a chain of residues carrying backbone N/CA/C atoms.
A residue contributes a point only when its φ and ψ can both be computed: it needs the previous residue's C, its own N/CA/C and the next residue's N, and all three residues must be consecutive in the same chain. A residue missing any required backbone atom is skipped (it never throws).
Parameters
residues
The residues in chain order, each with n, ca and c.
Returns
One RamachandranPoint per residue that has both angles.