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 ClassesModifier and TypeInterfaceDescriptionstatic classThe default scaler that displays the chromatogram 1:1. -
Method Summary
Modifier and TypeMethodDescriptionfloatscale(Chromatogram c, int sampleIndex) Returns the remapped coordinate for the provided trace sample index of the given chromatogram.
-
Method Details
-
scale
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
-