This class processes the spectra for influence of scattering.
| Constructor | Description | 
            
                
              
                  Full Usage: 
                   
              SavitzkyGolayCorrection(numberOfPoints, derivativeOrder, polynomialOrder)
                  Parameters: 
 int
                       - 
                      Number of points. Must be an odd number, otherwise it is rounded up.
                    
                    derivativeOrder : int
                       - 
                      Order of derivative you want to obtain. Set 0 for smothing.
                    
                    polynomialOrder : int
                       - 
                      Order of the fitting polynomial. Usual values are 2 or 4.
                    
                     | 
          
             
                 
               
                 
              This sets up a Savitzky-Golay-Filtering for all spectra. 
  | 
        
| Instance member | Description | 
            
                
              
               | 
          
             
                 
               
                 
              
 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.Process
                  Parameters: 
 IMatrix<float>
                       - 
                      The matrix of spectra. Each spectrum is a row of the matrix.
                    
                    xMean : IVector<float>
                       - 
                      Not used, since this processing sets xMean by itself (to zero).
                    
                    xScale : IVector<float>
                       - 
                      Not used, since the processing sets xScale by itself.
                    
                    regions : int[]
                       - 
                      Vector of spectal regions. Each element is the index of the start of a new region.
                    
                    Modifiers: abstract  | 
          
             
                 
               
                 
              Processes the spectra in matrix xMatrix. 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.ProcessForPrediction
                  Parameters: 
 IMatrix<float>
                       - 
                      The matrix of spectra. Each spectrum is a row of the matrix.
                    
                    xMean : IReadOnlyList<float>
                       - 
                      Not used.
                    
                    xScale : IReadOnlyList<float>
                       - 
                      Not used.
                    
                    regions : int[]
                       - 
                      Vector of spectal regions. Each element is the index of the start of a new region.
                    
                    Modifiers: abstract  | 
          
             
                 
               
                 
              Processes the spectra in matrix xMatrix for prediction. 
  | 
        
            
                
              
              
                  Full Usage: 
                   
              this.ProcessForPrediction
                  Parameters: 
 IMatrix<float>
                       - 
                      The matrix of spectra. Each spectrum is a row of the matrix.
                    
                    xMean : IReadOnlyList<float>
                       - 
                      Not used.
                    
                    xScale : IReadOnlyList<float>
                       - 
                      Not used.
                    
                    regionstart : int
                       - 
                      Starting index of the region to process.
                    
                    regionend : int
                       - 
                      End index of the region to process.
                    
                     | 
          
             
                 
               
                 
              Processes the spectra in matrix xMatrix for prediction. 
  |