Interface DataSetError

    • Method Detail

      • getErrorNegative

        default double getErrorNegative​(int dimIndex,
                                        double x)
        Returns the negative error along the 'dimIndex' axis of a point specified by the x coordinate. Please note that errors are assumed to be always positive!
        Parameters:
        dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')
        x - horizontal 'dimIndex' coordinate
        Returns:
        negative 'dimIndex' error
      • getErrorNegative

        double getErrorNegative​(int dimIndex,
                                int index)
        Returns the negative error along the 'dimIndex' axis of a point specified by the index. Please note that errors are assumed to be always positive!
        Parameters:
        dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')
        index - of negative 'dimIndex' error to be returned.
        Returns:
        negative 'dimIndex' error
      • getErrorPositive

        default double getErrorPositive​(int dimIndex,
                                        double x)
        Returns the positive error along the 'dimIndex' axis of a point specified by the x coordinate. Please note that errors are assumed to be always positive!
        Parameters:
        dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')
        x - horizontal 'dimIndex' coordinate
        Returns:
        positive 'dimIndex' error
      • getErrorPositive

        double getErrorPositive​(int dimIndex,
                                int index)
        Returns the positive error along the 'dimIndex' axis of a point specified by the index. Please note that errors are assumed to be always positive!
        Parameters:
        dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')
        index - of positive 'dimIndex' error to be returned.
        Returns:
        positive 'dimIndex' error
      • getErrorsNegative

        default double[] getErrorsNegative​(int dimIndex)
        Returns the negative error along the 'dimIndex' axis for all available data points. Please note that errors are assumed to be always positive!
        Parameters:
        dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')
        Returns:
        array containing negative 'dimIndex' error
      • getErrorsPositive

        default double[] getErrorsPositive​(int dimIndex)
        Returns the positive error along the 'dimIndex' axis for all available data points. Please note that errors are assumed to be always positive!
        Parameters:
        dimIndex - the dimension index (ie. '0' equals 'X', '1' equals 'Y')
        Returns:
        array containing positive 'dimIndex' error
      • getErrorType

        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.
        Parameters:
        dimIndex - the dimension for which to query the ErrorType
        Returns:
        one of the error types specified in ErrorType