|
User Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox dcdecimate.pro
| dcdecimate |
This procedure decimates a spectrum (i.e. thins the spectrum by paring every nth channel). The procedure still needs to be generalized by offering the option to choose a start channel. At present, it always starts at channel 0. The dc argument is modified in place.
get,index=1
a = data_new()
data_copy,!g.s[0],a
show
dchanning,a
show,a
dcdecimate,a,2
show,a
| Parameters | |
|
dc |
data container (spectrum or continuum) |
|
nchan |
choose every nth channel |