|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.biojava.bio.chromatogram.graphic.ChromatogramNonlinearScaler.Identity
public static class ChromatogramNonlinearScaler.Identity
The default scaler that displays the chromatogram 1:1.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.biojava.bio.chromatogram.graphic.ChromatogramNonlinearScaler |
---|
ChromatogramNonlinearScaler.Identity |
Method Summary | |
---|---|
static ChromatogramNonlinearScaler.Identity |
getInstance()
Retrieve the singleton instance of this class. |
float |
scale(Chromatogram c,
int sampleIndex)
Returns the remapped coordinate for the provided trace sample index of the given chromatogram. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static ChromatogramNonlinearScaler.Identity getInstance()
public float scale(Chromatogram c, int sampleIndex)
ChromatogramNonlinearScaler
scale
in interface ChromatogramNonlinearScaler
c
- the ChromatogramsampleIndex
- the sample index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |