pl.krakow.cmuj.bioinformatics.jellipse
Class LnCurvature
java.lang.Object
pl.krakow.cmuj.bioinformatics.jellipse.LnCurvature
- All Implemented Interfaces:
- Plottable
class LnCurvature
- extends java.lang.Object
- implements Plottable
Enables plotting natural logarithm of the radius of the local curvature
computed along the whole polypeptide chain.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LnCurvature
LnCurvature()
getValue
public float getValue(Aminoacid aacid)
- Specified by:
getValue
in interface Plottable
- Parameters:
aacid
- aminoacid for which natural logarithm of the radius of
the local chain curvature is to be returned
- Returns:
- natural logarithm of the radius of the local chain curvature
for a particular aminoacid
getMinValue
public float getMinValue(Peptide ch)
- Specified by:
getMinValue
in interface Plottable
- Parameters:
ch
- chain for which minimum Ln(R) is to be returned
- Returns:
- mininal Ln(R) within the particulr chain
getMaxValue
public float getMaxValue(Peptide ch)
- Specified by:
getMaxValue
in interface Plottable
- Parameters:
ch
- chain for which maximal Ln(R) is to be returned
- Returns:
- maxmal Ln(R) within the particulr chain
isCorrect
public boolean isCorrect(float v)
- Specified by:
isCorrect
in interface Plottable
- Parameters:
v
- value of Ln(R) to be tested for corectness
- Returns:
- true, if tested value is correct (just > 0)
toString
public java.lang.String toString()
- Specified by:
toString
in interface Plottable
- Overrides:
toString
in class java.lang.Object
- Returns:
- text identyfing property
toShortString
public java.lang.String toShortString()
- Specified by:
toShortString
in interface Plottable
- Returns:
- short text identyfing property