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
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classChromatogramNonlinearScaler.IdentityThe default scaler that displays the chromatogram 1:1.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatscale(Chromatogram c, int sampleIndex)Returns the remapped coordinate for the provided trace sample index of the given chromatogram.
-
-
-
Method Detail
-
scale
float scale(Chromatogram c, int sampleIndex) throws 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:
IndexOutOfBoundsException
-
-