@Equality public interface Span
Modifier and Type | Method and Description |
---|---|
Scaler |
createScaler(Scaling scaling,
Subrange dataclip)
Returns a scaler that maps a value range based on this span
to the range 0..1, according to a given scaling.
|
double[] |
getFiniteBounds(boolean requirePositive)
Returns a 2-element array giving definite lower and upper bounds
to be used for this span.
|
double |
getHigh()
Returns the upper bound of this span.
|
double |
getLow()
Returns the lower bound of this span.
|
Span |
limit(double lo,
double hi)
Creates a new span based on this one with optionally
adjusted data bounds.
|
double getLow()
double getHigh()
double[] getFiniteBounds(boolean requirePositive)
requirePositive
- whether output bounds must be positiveScaler createScaler(Scaling scaling, Subrange dataclip)
scaling
- scale functiondataclip
- subrange of natural data extent of this span
over which scaling should be performedSpan limit(double lo, double hi)
lo
- lower bound of output span; if NaN has no effecthi
- upper bound of output span; if NaN has no effectCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.