|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dcboxcar.pro
dcboxcar |
Smooth a data container with a boxcar smoothing of a certain width, in channels. For odd width, this uses the built-in idl SMOOTH function. For even widths this uses doboxcar1d and the reference channel is moved left by 1/2 channel width. Replaces the contents of the data being smoothed with the smoothed data. Use the GUIDE procedure, BOXCAR, to smoothing data containers in the !g structure.
The continuum side needs more work, especially for the decimate case and the even boxcar case.
Parameters | |
dc |
The data container to be smoothed. The data values are modified by this procedure. |
width |
Width of boxcar in channels. |
Keywords | |
decimate |
If set, the data container is reduced - taking every width channels starting at channel 0. |