Welcome to iraf.net Friday, May 03 2024 @ 07:29 AM GMT
Anonymous: |
04/16/2009 02:54PM (Read 4473 times)
|
|
|
|
Hello all,I have a couple of spectra with very low counts in the low wavelength region. I normalize using continuum task in the specred package. In the normalized spectra, the parts with low counts appear exaggerated (oscillate wildly) wrt the rest. Maybe because they were divided by a low value for the fitted continuum. I set my low_rej = 2 and high_rej =5. I fit with a spline3 function of order 1. The higher the fitting order, the worse it becomes. Any ideas to fix this?Thank you.Siti
|
|
|
|
delta_kuadrant |
04/16/2009 02:54PM
|
|
|
Status: offline
Registered: 01/26/2008
Posts: 28
|
hello siti I don't know if this step below can work on your case
but, can you try to exclude the noisy part? you can select the region you want to fit with 's' keystroke before fitting. CMIIW
regardsAgus Triono P.J
|
|
|
|
Anonymous: |
04/16/2009 02:54PM
|
|
|
|
Hi Agus,The s key does make it look less noisier but still not as cute as the kitten. Anyway, thanks for your suggestion. 8) Siti
|
|
|
|
delta_kuadrant |
04/16/2009 02:54PM
|
|
|
Status: offline
Registered: 01/26/2008
Posts: 28
|
did you try to increase the fitting order?5 or 10 perhaps?
the things you have to consider are rms value of fitting and number of rejection points (CMIIW).
in most cases, if you have small enough rms value and have a couple hundred or thousands number of rejection points, it should be sufficient.
the noisy parts probably also came from previous step, so make sure that your previous steps was well-carried. CMIIWAgus
|
|
|
|
Anonymous: |
04/16/2009 02:54PM
|
|
|
|
Dear Agus,i just want to fit the overall shape of the continuum and not the details of the lines. Increasing the fitting order will fit the sharp drop at the edge because of the flexibility of the spline3 function. I will see how changing the number of rejection points can help.Thanks for your ideas. Cheers,Siti
|
|
|
|
| |
|
Content generated in: 0.03 seconds |
|