Interface RealTransformer

    • Method Detail

      • transform

        double[] transform​(double[] f)
                    throws java.lang.IllegalArgumentException
        Transform the given real data set.
        Parameters:
        f - the real data array to be transformed (signal)
        Returns:
        the real transformed array (spectrum)
        Throws:
        java.lang.IllegalArgumentException - if any parameters are invalid
      • transform

        double[] transform​(UnivariateRealFunction f,
                           double min,
                           double max,
                           int n)
                    throws FunctionEvaluationException,
                           java.lang.IllegalArgumentException
        Transform the given real function, sampled on the given interval.
        Parameters:
        f - the function to be sampled and transformed
        min - the lower bound for the interval
        max - the upper bound for the interval
        n - the number of sample points
        Returns:
        the real transformed array
        Throws:
        FunctionEvaluationException - if function cannot be evaluated at some point
        java.lang.IllegalArgumentException - if any parameters are invalid
      • inversetransform

        double[] inversetransform​(double[] f)
                           throws java.lang.IllegalArgumentException
        Inversely transform the given real data set.
        Parameters:
        f - the real data array to be inversely transformed (spectrum)
        Returns:
        the real inversely transformed array (signal)
        Throws:
        java.lang.IllegalArgumentException - if any parameters are invalid
      • inversetransform

        double[] inversetransform​(UnivariateRealFunction f,
                                  double min,
                                  double max,
                                  int n)
                           throws FunctionEvaluationException,
                                  java.lang.IllegalArgumentException
        Inversely transform the given real function, sampled on the given interval.
        Parameters:
        f - the function to be sampled and inversely transformed
        min - the lower bound for the interval
        max - the upper bound for the interval
        n - the number of sample points
        Returns:
        the real inversely transformed array
        Throws:
        FunctionEvaluationException - if function cannot be evaluated at some point
        java.lang.IllegalArgumentException - if any parameters are invalid