org.biojava.bio.chromatogram.graphic
Interface ChromatogramNonlinearScaler
- All Known Implementing Classes:
- ChromatogramNonlinearScaler.Identity, FixedBaseWidthScaler
public interface ChromatogramNonlinearScaler
Provides the mechanism whereby a ChromatogramGraphic can display
a Chromatogram with a non-linear horizontal scale.
- Since:
- 1.3
- Author:
- Rhett Sutphin (UI CBCB), Matthew Pocock
Method Summary |
float |
scale(Chromatogram c,
int sampleIndex)
Returns the remapped coordinate for the provided trace sample index of the
given chromatogram. |
scale
float scale(Chromatogram c,
int sampleIndex)
throws java.lang.IndexOutOfBoundsException
- Returns the remapped coordinate for the provided trace sample index of the
given chromatogram.
- Parameters:
c
- the ChromatogramsampleIndex
- the sample index
- Returns:
- the new coordinagte
- Throws:
java.lang.IndexOutOfBoundsException