Class SavitzkyGolay


  • public class SavitzkyGolay
    extends Object
    A helper class for Savitzky-Golay.
    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    • Constructor Detail

      • SavitzkyGolay

        public SavitzkyGolay()
    • Method Detail

      • determineCoefficients

        public static double[] determineCoefficients​(int numLeft,
                                                     int numRight,
                                                     int polyOrder,
                                                     int derOrder)
        Determines the coefficients for the smoothing.
        Parameters:
        numLeft - the number of points to the left
        numRight - the number of points to the right
        polyOrder - the polynomial order
        derOrder - the derivative order
        Returns:
        the coefficients
      • determineCoefficients

        public static double[] determineCoefficients​(int numLeft,
                                                     int numRight,
                                                     int polyOrder,
                                                     int derOrder,
                                                     boolean debug)
        Determines the coefficients for the smoothing, with optional debugging output.
        Parameters:
        numLeft - the number of points to the left
        numRight - the number of points to the right
        polyOrder - the polynomial order
        derOrder - the derivative order
        debug - whether to output debugging information
        Returns:
        the coefficients
      • getTechnicalInformation

        public static TechnicalInformation getTechnicalInformation()
        Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.
        Returns:
        the technical information about this class