Line filter: Difference between revisions
Jump to navigation
Jump to search
imported>Scott (New page: ===Purpose=== Spectral filtering. ===Synopsis=== :xf = line_filter(x,win,options); ===Description=== ====Inputs==== * '''x''' = MxN matrix of data of class 'double' or 'dataset'. If ...) |
imported>Neal |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Spectral filtering. | Spectral filtering spectral filtering via convolution and deconvolution. | ||
===Synopsis=== | ===Synopsis=== |
Revision as of 09:07, 17 March 2009
Purpose
Spectral filtering spectral filtering via convolution and deconvolution.
Synopsis
- xf = line_filter(x,win,options);
Description
Inputs
- x = MxN matrix of data of class 'double' or 'dataset'. If 'dataset' it must x.type=='data'. Each of the M rows are convolved with the linear filter given in (options.lineshape).
- win =
- 1) A scalar parameter corresponding to the analogous window width of the filter.
- options.psf =
- 'gaussian', (win) corresponds to the std in the Gaussian distribution.
- 'box', (win) is the half-width in number of channels.
- 'triangular', (win) is the half-width in channels.
- options.psf =
- 2) If (win) is 1xN, then it is used as the PSF and (options.psf) is ignored.
Outputs
- xf = Filtered data of class 'dataset'.
Options
options = a structure array with the following fields:
- psf: [ {'gaussian'} | 'box' | 'triangular'] Line shape or point source function (PSF) for filtering.