#include "hsavitzkygolay.h"

HSavitzkyGolay


class description - source file - inheritance tree (.pdf)

class HSavitzkyGolay : public TObject

Inheritance Chart:
TObject
<-
HSavitzkyGolay

    public:
HSavitzkyGolay() HSavitzkyGolay(const HSavitzkyGolay&) ~HSavitzkyGolay() void calcCoefficients(HRtVector& out, Int_t nl, Int_t nr, Int_t ld, Int_t m) static TClass* Class() virtual TClass* IsA() const HSavitzkyGolay& operator=(const HSavitzkyGolay&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members




Class Description

HSavitzkyGolay

  Simple class to calculate the Savitzky-Golay coefficients

  Basically the Savitzky-Golay filter consists on doing a fit
 of a set of data points to a polinomial of a certain degree and
 then use this polinomial to interpolate the data, calculate
 derivatives...

  The Savitzky-Golay coefficients allow to make this procedure fast
 by converting the process of fitting and evaluating a polinomial at
 some point into a linear convolution.

  For more documentation on the Savitzky-Golay filter and its
 applications see Numerical Recipes in C. 14.8


HSavitzkyGolay(void)

~HSavitzkyGolay(void)

void calcCoefficients(HRtVector &out, Int_t nl,Int_t nr,Int_t ld,Int_t m)
 Stores in vector out the Savitzky-Golay coefficients.
 Input
   nl: number of points to the left in the fit
   nr: number of points to the right in the fit
   m: degree of the polinomial
   ld: order of the coefficients. 0 for interpoletion,
                                  1 for differentiation...



Inline Functions


                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
         HSavitzkyGolay HSavitzkyGolay(const HSavitzkyGolay&)
        HSavitzkyGolay& operator=(const HSavitzkyGolay&)


Author: M. Sanchez (12/06/2001)
Last update: M. Sanchez (20/06/2001)


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.