View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Shifting region of interest in splot

tomph wrote on May 02, 2008

Hi all
I am working with splot examining spectra, after flux calibration there is a region (sub 4500 Angstroms) where the data is flawed (due to division using sarith), this I wish to remve or ignore.
I need to take a continuum from the spectra so what I effectively want to do is re-save the spectrum but only considering the region >4500 Angstroms.
I have tried just moving along the axis by changing xmin and xmax in epar splot but all this did was change the view and so when plotting the continuum it was still skewed.
Does anyone know a method of removing the region with bogus information?

Thanks very much

Tom

Mike Fitzpatrick wrote on May 02, 2008


I need to take a continuum from the spectra so what I effectively want to do is re-save the spectrum but only considering the region >4500 Angstroms.


Sounds like a job for SCOPY .....

-Mike

tomph wrote on May 02, 2008

Ahh i've not done it yet but reading about it, it looks like scopy is the way forwards,

Thanks very much

-Tom

tomph wrote on May 02, 2008

Yeah all sorted

Last post on May 02, 2008