public interface DataSetError extends DataSet
DataSetError is a basic interface that specifies all methods needed to read and modify data point
error. This interface is kept most general. However, derived classes may have dummy implementation for error types
that are not relevant. For plotting speed improvement this simplification can/should be indicated via theinterface for error type details| Modifier and Type | Interface and Description |
|---|---|
static class |
DataSetError.ErrorType |
| Modifier and Type | Method and Description |
|---|---|
default double |
getErrorNegative(int dimIndex,
double x)
Returns the negative error along the 'dimIndex' axis of a point specified by the
x coordinate. |
double |
getErrorNegative(int dimIndex,
int index)
Returns the negative error along the 'dimIndex' axis of a point specified by the
index. |
default double |
getErrorPositive(int dimIndex,
double x)
Returns the positive error along the 'dimIndex' axis of a point specified by the
x coordinate. |
double |
getErrorPositive(int dimIndex,
int index)
Returns the positive error along the 'dimIndex' axis of a point specified by the
index. |
default double[] |
getErrorsNegative(int dimIndex)
Returns the negative error along the 'dimIndex' axis for all available data points.
|
default double[] |
getErrorsPositive(int dimIndex)
Returns the positive error along the 'dimIndex' axis for all available data points.
|
DataSetError.ErrorType |
getErrorType(int dimIndex)
Returns the given error type for a specific dimension that may be used to drive given simplifications and
optimisation in derived classes.
|
get, getAxisDescription, getAxisDescriptions, getDataCount, getDataCount, getDataLabel, getDimension, getIndex, getName, getStyle, getStyle, getValue, getValues, lock, recomputeLimits, setStyleaddListener, autoNotification, invokeListener, invokeListener, invokeListener, isAutoNotification, removeListener, updateEventListenerdefault double getErrorNegative(int dimIndex,
double x)
x coordinate.
Please note that errors are assumed to be always positive!dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')x - horizontal 'dimIndex' coordinatedouble getErrorNegative(int dimIndex,
int index)
index. Please note
that errors are assumed to be always positive!dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')index - of negative 'dimIndex' error to be returned.default double getErrorPositive(int dimIndex,
double x)
x coordinate.
Please note that errors are assumed to be always positive!dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')x - horizontal 'dimIndex' coordinatedouble getErrorPositive(int dimIndex,
int index)
index. Please note
that errors are assumed to be always positive!dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')index - of positive 'dimIndex' error to be returned.default double[] getErrorsNegative(int dimIndex)
dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')default double[] getErrorsPositive(int dimIndex)
dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')DataSetError.ErrorType getErrorType(int dimIndex)
dimIndex - the dimension for which to query the ErrorTypeCopyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.