|
User Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dchanning.pro
| dchanning |
This procedure smooths a spectrum with a hanning filter.
Replaces the contents of the data being smoothed with the smoothed data. Blanked data values are ignored.
For spectrum data containers, the frequency_resolution is set using esthanres
get,index=1
a = data_new()
data_copy,!g.s[0],a
show
dchanning,a,/decimate
show,a
| Parameters | |
|
dc |
data container (spectrum or continuum) |
| Keywords | |
|
decimate |
decimate the spectrum? |
|
ok |
Returns 1 if everything went ok, 0 if it did not (missing dc parameter, invalid or empty dc) |