Welcome to iraf.net Wednesday, May 01 2024 @ 07:13 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Flatcombine
   
camjh
 03/28/2008 05:33PM (Read 7576 times)  
+----
Newbie

Status: offline


Registered: 03/28/2008
Posts: 2
Hi,
I have a problem with the Iraf FLATCOMBINE task, when trying to create a combined flat file of UVES flat files (ff lamp 1) I get errors. I have tried running it with different lists and by typing in the single files. Everytime I get an error:List of flat field images to combine (flat615.fits, flat226.fits):
ERROR on line 47: No images to combine
flatcombine ()But I am able to combine the flats using COMBINE, and ZEROCOMBINE also works..To solve the problem I have so far tried the following:
-removing iraf directory and creating a new using mkiraf (commented a few
suggested lines in the login.cl file in)
-flatcombine *.fits ccdtype=""
-gave all rights to the fits files
-created a new directory, where I moved the flat fits files to, renamed them and gave all rights to them
-changed setinstrument (echelle,direct)
-changed ccdproc's biassec and trimsec ([values],image)
-unlearn flatcombine and ccdproc.My task input look like this:PACKAGE = ccdred
TASK = setinstrumentinstrume= echelle Instrument ID (type ? for a list)
(site = kpno) Site ID
(directo= ccddb$) Instrument directory
(review = yes) Review instrument parameters?
query = echelle Instrument ID (type q to quit)
(mode = al)PACKAGE = ccdred
TASK = ccdprocimages = flat615.fits, flat226.fits List of CCD images to correct
(output = flattest2.fits) List of output CCD images
(ccdtype= ) CCD image type to correct
(max_cac= 0) Maximum image caching memory (in Mbytes)
(noproc = no) List processing steps only?(fixpix = no) Fix bad CCD lines and columns?
(oversca= yes) Apply overscan strip correction?
(trim = yes) Trim the image?
(zerocor= yes) Apply zero level correction?
(darkcor= no) Apply dark count correction?
(flatcor= yes) Apply flat field correction?
(illumco= no) Apply illumination correction?
(fringec= no) Apply fringe correction?
(readcor= no) Convert zero level image to readout correction?
(scancor= no) Convert flat field image to scan correction?(readaxi= line) Read out axis (column|line)
(fixfile= ) File describing the bad lines and columns
(biassec= image) Overscan strip image section
(trimsec= image) Trim data section
(zero = ) Zero level calibration image
(dark = ) Dark count calibration image
(flat = ) Flat field images
(illum = ) Illumination correction images
(fringe = ) Fringe correction images
(minrepl= 1.) Minimum flat field value
(scantyp= shortscan) Scan type (shortscan|longscan)
(nscan = 1) Number of short scan lines(interac= yes) Fit overscan interactively?
(functio= chebyshev) Fitting function
(order = 1) Number of polynomial terms or spline pieces
(sample = *) Sample points to fit
(naverag= 1) Number of sample points to combine
(niterat= 1) Number of rejection iterations
(low_rej= 3.) Low sigma rejection factor
(high_re= 3.) High sigma rejection factor
(grow = 0.) Rejection growing radius
(mode = al)
PACKAGE = ccdred
TASK = flatcombineinput = flat615.fits, flat226.fits List of flat field images to combine
(output = flattest) Output flat field root name
(combine= average) Type of combine operation
(reject = crreject) Type of rejection
(ccdtype= flat) CCD image type to combine
(process= yes) Process images before combining?
(subsets= yes) Combine images by subset parameter?
(delete = no) Delete input images after combining?
(clobber= no) Clobber existing output image?
(scale = mode) Image scaling
(statsec= ) Image section for computing statistics
(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= rdnoise) ccdclip: CCD readout noise (electrons)
(gain = gain) ccdclip: CCD gain (electrons/DN)
(snoise = 0.) ccdclip: Sensitivity noise (fraction)
(pclip = 0.) pclip: Percentile clipping parameter
(blank = 1.) Value if there are no pixels
(mode = al)Thank you in advance
Camilla

 
Profile Email
 Quote
hanin
 03/28/2008 05:33PM  
++---
Junior

Status: offline


Registered: 12/27/2007
Posts: 18
AFAIK, you must have the keyword 'IMAGETYP= flat' in the flat images' header. This is because you have 'ccdtype= flat' in the flatcombine parameter.cmiiw..

IRAFNET PC-IRAF Revision 2.13-BETA2 Wed Apr 19 21:21:13 MST 2006 on Ubuntu 7.04
 
Profile Email
 Quote
camjh
 03/28/2008 05:33PM  
+----
Newbie

Status: offline


Registered: 03/28/2008
Posts: 2
Thank you!
Changing the IMAGETYP in the header to flat did the trick.Cheers
Camilla

 
Profile Email
 Quote
fitz
 03/28/2008 05:33PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:ea217b65db]To solve the problem I have so far tried the following:
......
-flatcombine *.fits ccdtype="" [/quote:ea217b65db]For the record, Hanin has the correct reply, but I was confused by this (failed) solution since it is normally what we also recommend. Setting ccdtype="" tells the task to ignore the IMAGETYP and use the images regardless, so this should have worked. Are you sure this didn't work?-Mike

 
Profile Email
 Quote
darsh
 06/29/2023 05:00PM  
+----
Newbie

Status: offline


Registered: 06/29/2023
Posts: 1
Hii!!

I have been trying to run the flatcombine task via epar flatcombine and adding the name of the images list in it. But it is showing error that No images to combine. Pls. guide me. I have tried doing the above solutions but nothing worked.

 
Profile Email
 Quote
   
Content generated in: 0.13 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