Menu

par_grid

A. Smith

par.grid

The FitSpec function breaks the spectrum into sub-spectra, which are fitted individually, and then periodically recombined. The number of sub-spectra is determined by ‘par.grid’, which is a 1 X N vector, where N is the number of dimensions. Each element of ‘par.grid’ specifies how many parts that dimension should be separated into, so that the total number of sub-spectra is the product of the values in ‘par.grid’. Large values in ‘par.grid’ will accelerate fitting, since the size of each sub-spectrum is reduced, but peaks that overlap strongly into other sections will be fit less accurately. Usually, default settings are sufficient, but spectra with peaks that are quite broad in comparison to the spectrum resolution may not fit well with the default values of ‘par.grid’. The best remedy for this is to process with fewer data points, but if this is not possible due to a mix of broad and narrow peaks, then one may reduce the values of ‘par.grid’.

3 entries for a 3D spectrum:

par.grid=[10 10 5];

Auth0 Logo