Welcome to iraf.net Friday, May 17 2024 @ 04:42 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Problem with `scombine' option `reject = "minmax"'
   
fschweizer
 07/01/2010 01:44AM (Read 1774 times)  
+----
Newbie

Status: offline


Registered: 09/10/2009
Posts: 3
I am trying to use `scombine' in `echelle' to combine the various
orders of a flux-calibrated MagE spectrum in MS format into a
single 1D spectrum on a linear, equidistant wavelength scale.When I `scombine' the object or sky orders with the following
params:
scombine.combine = "average"
scombine.reject = "none"
the 1D spectrum looks just fine. (I use a script to restrict
the pixel range of each order, so order-boundary effects are
minimized.)However, when I am trying to `scombine' the *sigma* orders, in
admittedly primitive fashion, with the following params:
scombine.combine = "average"
scombine.reject = "minmax"
scombine.nlow = 0
scombine.nhigh = 1
scombine.nkeep = 1
the 1D spectrum looks awful. According to the help file for
`scombine', the above params should make `scombine' always choose
the *lower* value of the two sigma orders where they overlap.
Instead, `scombine' insists on averaging both orders in the
overlap zone.Replacing the "average" of `scombine.combine' with "sum" does not
help. On the contrary, now the sum of both orders is presented
in each overlap zone, which is twice the average.FYI, the overlap zones always contain only 2 orders, never 3.
Hence, `scombine' always faces either one pixel, in which case it
takes it, or 2 pixels in an overlap zone, in which case it takes
both instead of only the lower one under the `reject = "minmax"'
option.Can someone please tell me how I can make `scombine' pick the
lower of two values when two spectra are to be combined?

 
Profile Email
 Quote
   
Content generated in: 0.02 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login