View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Spectra smoothing and save it into another file

delta_kuadrant wrote on Aug 05, 2009

Dear all

I've tried to search the forum and still not find the answer.
I want to smooth my echelle spectra and save it into another file. what task I should use? I've tried the 's' keystroke on splot and use 'i' to save it into another file. but when I checked that new file, it seemed that it still has the same resolution as the original one.
thank you. Sorry if this question had been asked before

regards

PJ

delta_kuadrant wrote on Aug 05, 2009

Dear all,
after I've tried several times, the 's' and 'i' keystroke in splot is working.
I'm just not aware about that, my bad^^'
If you have another ways to do what I asked for, please share here
thx

regards
PJ

Mike Fitzpatrick wrote on Aug 05, 2009

The SPLOT 's' keystroke does a simple boxcar smoothing of the spectra. If you want to treat the data as simply a pixel array, you can do pretty much the same thing using the BOXCAR task directly. Note for extracted echelle spectra you'll want to set the 'ywindow' parameter to be a single row.

-Mike

Last post on Aug 05, 2009