Smooths a two dimensional dataset Syntax: >> wout = smooth (win, width, shape) Input: ------ win Input dataset structure width Vector that sets the extent of the smoothing along each dimension. The interpretation of width depends on the argument 'shape' described below. If width is scalar, then the value is applied to all dimensions shape [Optional] Shape of smoothing function [Default: 'hat'] 'hat' hat function - width gives FWHH along each dimension in pixels - width = 1,3,5,...; n=0 or 1 => no smoothing 'gaussian' Gaussian - width gives FWHH along each dimension in pixels - elements where more than 2% of peak intensity are retained 'resolution' Correlated Gaussian (suitable for e.g. powder data) Output: ------- wout Smoothed data structure