Hello Frank,
Glad to hear from you as I have to present my preliminary analysis next week (I am a graduate student in physics dept.) [quote:5b3c16ec87]Could you post a gif or make some data available along with the command and parameters to produce the "nonsense" values? The non-overlap parts should be ok but with greater noise[/quote:5b3c16ec87]
You mean post an splot of the combined spectra and the data? Would you prefer the data in image.fits or text.dat format? And where shall I post them? The non-overlap parts between ~1009.9-1016.5 A and ~1090.7-1097.0 A are situated well below the normalized continuum. Below 1009.9 A and above 1097.0 A, things look okay. :shock: Here are parameters for scombine:
PACKAGE = kpnoslit
TASK = scombine
input = nspec5.fits,nspec7.fits List of input spectra
output = nspec57.fits List of output spectra
(noutput= ) List of output number combined spectra
(logfile= STDOUT) Log file
(apertur= ) Apertures to combine
(group = apertures) Grouping option
(combine= median) Type of combine operation
(reject = none) Type of rejection
(first = no) Use first spectrum for dispersion?
(w1 = INDEF) Starting wavelength of output spectra
(w2 = INDEF) Ending wavelength of output spectra
(dw = INDEF) Wavelength increment of output spectra
(nw = INDEF) Length of output spectra
(log = no) Logarithmic increments?
(scale = none) Image scaling
(zero = none) Image zero point offset
(weight = none) Image weights
(sample = ) Wavelength sample regions for statistics
(lthresh= INDEF) Lower threshold
(hthresh= INDEF) Upper threshold
(nlow = 1) minmax: Number of low pixels to reject
(nhigh = 1) minmax: Number of high pixels to reject
(nkeep = 1) Minimum to keep (pos) or maximum to reject (neg)
(mclip = yes) Use median in sigma clipping algorithms?
(lsigma = 3.) Lower sigma clipping factor
(hsigma = 3.) Upper sigma clipping factor
(rdnoise= 0.) ccdclip: CCD readout noise (electrons)
(gain = 1.) ccdclip: CCD gain (electrons/DN)
(snoise = 0.) ccdclip: Sensitivity noise (fraction)
(sigscal= 0.1) Tolerance for sigma clipping scaling corrections
(pclip = -0.5) pclip: Percentile clipping parameter
(grow = 0) Radius (pixels) for 1D neighbor rejection
(blank = 0.) Value if there are no pixels
(mode = ql)[quote:5b3c16ec87]Actually and easier first step is to post the header listings for the two input spectra (imhead l+). I can make dummy spectra with the same headers (i.e. dispersion sampling) and see what happens. [/quote:5b3c16ec87]
image header for nspec5.fits:
nspec5.fits[7693][real]:
No bad pixels, min=0., max=0. (old)
Line storage mode, physdim [7693], length of user area 1256 s.u.
Created Wed 18:48:20 17-Dec-2008, Last modified Wed 18:38:13 17-Dec-2008
Pixel file "nspec5.fits" [ok]
EXTEND = F / File may contain extensions
ORIGIN = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator
DATE = '2008-12-17T10:48:20' / Date FITS file was generated
IRAF-TLM= '18:38:13 (17/12/2008)' / Time of last modification
APNUM1 = '1 1 '
WCSDIM = 1
CTYPE1 = 'LINEAR '
CRVAL1 = 997.
CRPIX1 = 1.
CDELT1 = 0.013
CD1_1 = 0.013
LTM1_1 = 1.
WAT0_001= 'system=equispec'
WAT1_001= 'wtype=linear'
DC-FLAG = 0
SFIT = '1 '
SFITB = '1 'Image header for nspec7.fits:
nspec7.fits[7693][real]:
No bad pixels, min=0., max=0. (old)
Line storage mode, physdim [7693], length of user area 1256 s.u.
Created Fri 11:03:28 19-Dec-2008, Last modified Fri 11:03:28 19-Dec-2008
Pixel file "nspec7.fits" [ok]
EXTEND = F / File may contain extensions
ORIGIN = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator
DATE = '2008-12-19T03:03:28' / Date FITS file was generated
IRAF-TLM= '11:03:28 (19/12/2008)' / Time of last modification
APNUM1 = '1 1 '
WCSDIM = 1
CTYPE1 = 'LINEAR '
CRVAL1 = 1010.
CRPIX1 = 1.
CDELT1 = 0.013
CD1_1 = 0.013
LTM1_1 = 1.
WAT0_001= 'system=equispec'
WAT1_001= 'wtype=linear'
DC-FLAG = 0
SFIT = '1 '
SFITB = '1 '
[quote:5b3c16ec87]The output of imstat might also be helpful. [/quote:5b3c16ec87]
imstat nspec5.fits
# IMAGE NPIX MEAN STDDEV MIN MAX
nspec5.fits 7693 0.8347 0.3613 0. 1.532imstat nspec7.fits
# IMAGE NPIX MEAN STDDEV MIN MAX
nspec7.fits 7693 0.8335 0.3815 -0.01138 1.976
thanks.,
Siti