Interface DataSetError

    • Method Detail

      • getErrorType

        DataSetError.ErrorType getErrorType()
        Returns the given error type that may be used to drive given simplifications and optimisation in derived classes.
        Returns:
        one of the error types specified in ErrorType
      • getXErrorNegative

        double getXErrorNegative​(int index)
        Returns the negative error along the X axis of a point specified by the index. Please note that errors are assumed to be always positive!
        Parameters:
        index - of negative X error to be returned.
        Returns:
        negative X error
      • getXErrorsNegative

        default double[] getXErrorsNegative()
        Returns the negative error along the X axis for all available data points. Please note that errors are assumed to be always positive!
        Returns:
        array containing negative X error
      • getXErrorPositive

        double getXErrorPositive​(int index)
        Returns the positive error along the X axis of a point specified by the index. Please note that errors are assumed to be always positive!
        Parameters:
        index - of positive X error to be returned.
        Returns:
        positive X error
      • getXErrorsPositive

        default double[] getXErrorsPositive()
        Returns the positive error along the X axis for all available data points. Please note that errors are assumed to be always positive!
        Returns:
        array containing positive X error
      • getYErrorNegative

        double getYErrorNegative​(int index)
        Returns the negative error along the Y axis of a point specified by the index. Please note that errors are assumed to be always positive!
        Parameters:
        index - of negative Y error to be returned.
        Returns:
        negative Y error
      • getYErrorsNegative

        default double[] getYErrorsNegative()
        Returns the negative error along the Y axis for all available data points. Please note that errors are assumed to be always positive!
        Returns:
        array containing negative Y error
      • getYErrorPositive

        double getYErrorPositive​(int index)
        Returns the positive error along the Y axis of a point specified by the index. Please note that errors are assumed to be always positive!
        Parameters:
        index - of positive Y error to be returned.
        Returns:
        positive Y error
      • getYErrorsPositive

        default double[] getYErrorsPositive()
        Returns the positive error along the y axis for all available data points. Please note that errors are assumed to be always positive!
        Returns:
        array containing positive y error
      • getXErrorNegative

        default double getXErrorNegative​(double x)
        Returns the negative error along the X axis of a point specified by the x coordinate. Please note that errors are assumed to be always positive!
        Parameters:
        x - horizontal x coordinate
        Returns:
        negative X error
      • getXErrorPositive

        default double getXErrorPositive​(double x)
        Returns the positive error along the X axis of a point specified by the x coordinate. Please note that errors are assumed to be always positive!
        Parameters:
        x - horizontal x coordinate
        Returns:
        positive X error
      • getYErrorNegative

        default double getYErrorNegative​(double x)
        Returns the negative error along the Y axis of a point specified by the x coordinate. Please note that errors are assumed to be always positive!
        Parameters:
        x - horizontal x coordinate
        Returns:
        negative Y error
      • getYErrorPositive

        default double getYErrorPositive​(double x)
        Returns the positive error along the Y axis of a point specified by the x coordinate. Please note that errors are assumed to be always positive!
        Parameters:
        x - horizontal x coordinate.
        Returns:
        positive Y error