public final class AlphaCTools
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static double |
MAX_ANGLE
MAX_ANGLE .
|
static double |
MIN_ANGLE
MIN_ANGLE .
|
| Constructor and Description |
|---|
AlphaCTools() |
| Modifier and Type | Method and Description |
|---|---|
static Alphabet |
getAlphaCarbonAngleAlphabet()
Returns a reference to the Alphabet that contains Symbols that represent PHI,
PSI angles.
|
static double |
getPhiAngle(Symbol phiPsiSym)
extracts the Phi angle from a
Symbol. |
static Symbol |
getPhiPsiSymbol(double phiAngle,
double psiAngle)
Makes a Phi - Psi Symbol from the ALPHA CARBON ANGLES alphabet.
|
static double |
getPsiAngle(Symbol phiPsiSym)
extracts the Psi angle from a
Symbol. |
public static final double MAX_ANGLE
public static final double MIN_ANGLE
public static Alphabet getAlphaCarbonAngleAlphabet()
public static Symbol getPhiPsiSymbol(double phiAngle, double psiAngle) throws IllegalSymbolException
phiAngle - the phi angle between -180.0 and +180.0psiAngle - the psi angle between -180.0 and +180.0IllegalSymbolException - if the bond angles are outside the specified rangepublic static double getPhiAngle(Symbol phiPsiSym) throws IllegalSymbolException
Symbol.phiPsiSym - a Symbol from the ALPHA CARBON ANGLES
AlphabetIllegalSymbolException - if the Symbol is not from
the ALPHA CARBON ANGLES Alphabetpublic static double getPsiAngle(Symbol phiPsiSym) throws IllegalSymbolException
Symbol.phiPsiSym - a Symbol from the ALPHA CARBON ANGLES
AlphabetIllegalSymbolException - if the Symbol is not from
the ALPHA CARBON ANGLES Alphabet