View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

ICFIT in splot

TracyB wrote on Feb 03, 2009

Hello. I have been trying to use the ICFit "t" command in splot in order to remove bad points from my spectra. When I do the clean up command "c" when I enter ICFIT, I am able to get rid of the bad points chosen by my high & low reject parameter. Then when I delete the remaining bad points "d" and "f" fit them, these points also appear to have been cleared. However, when I "q" out of ICFIT back into splot, only those points removed by the clean up (therefore the high & low rejected points) have actually been removed. The deleted points return as soon as I "q" out of ICFIT into splot. I also cannot do another "clean up" after the initial clean up when I enter ICFIT. How do I interactively delete these points and have them remain deleted when I return to splot?

Thank you!
-Tracy

Francisco Valdes wrote on Feb 03, 2009

Hi,

I'm afraid what you describe is the way the task works. The role of deleting points and then refitting is to better set the fitting continuum but the deleted points are flagged differently in the program. When you exit back to splot it only "fixes" those pixels marked as automatically cleaned and not those marked as deleted. To "clean" other points you can use 'x' (and note the effect of the xydraw parameter) or 'j'.

Frank Valdes

Last post on Feb 03, 2009