|
User Documentation |
|||||||||
prev file | next file | ||||||||||
SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dcsmooth.pro
dcsmooth |
Smooth the data with a GAUSSIAN such that the spectrum in the given data container with an original resolution of frequency_resolution now has a resolution of NEWRES, where NEWRES is expressed in channels.
Optionally also decimate the spectrum by keeping only every NEWRES channels.
The frequency_resolution field is set to newres * abs(frequency_interval) after this procedure is used.
The width of the smoothing Gaussian is sqrt(newres2-oldres^2).
; dc already exists and is a valid data container ; smooth to 2 channels dcsmooth,dc,2 ; do it again, now to 4 channels, decimate this time dcsmooth,dc,4,/decimate