Welcome to iraf.net Friday, May 17 2024 @ 09:01 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 ccdproc imagetype issues
   
Duncan
 05/16/2010 06:33AM (Read 2492 times)  
+----
Newbie

Status: offline


Registered: 05/15/2010
Posts: 13
Hello,I am trying to set up everything to use ccdproc, but I have run into a snag with the imagetype not showing up. I know the order that the header short should be name, size, pixel type, image type, subset ID, processing flags, and title. which is all is available in the long header just under different names. Image type is under OBSTYPE and the processing flag is under FILNAME. I am not sure how to continue I have done this image by image when necessary but it would be nice to be able to batch order them.ecl> imheader
trial.fits[1040,2350][ushort]: n5053v
ecl> imheader l+
trial.fits[1040,2350][ushort]: n5053v
No bad pixels, min=4., max=65535.
Line storage mode, physdim [1040,2350], length of user area 2673 s.u.
Created Sat 23:22:57 15-May-2010, Last modified Sat 23:22:55 15-May-2010
Pixel file "trial.fits" [ok]
EXTEND = F / File may contain extensions
BSCALE = 1.000000E0 / REAL = TAPE*BSCALE + BZERO
BZERO = 3.276800E4 /
ORIGIN = 'NOAO-IRAF FITS Image Kernel July 2003' / FITS file originator
DATE = '2010-05-16T06:22:57' / Date FITS file was generated
IRAF-TLM= '2010-05-16T06:22:55' / Time of last modification
OBJECT = 'n5053v ' / Name of the object observed
DATAMIN = 4. / Minimum data value
DATAMAX = 65535. / Maximum data value
EXPTIME = 60 /
INSTRUME= 'E2V-1' / detector name
XBIN = 2 /
YBIN = 2 /
PIXSIZE = 13.5 / pixel size, microns
CTYPE1 = 'PIXEL' 15 / axis1 in pixels
CTYPE2 = 'PIXEL' 15 / axis2 in pixels
CCDTEM = -105.1 /
DATE-OBS= '2010-02-21T12:14:38'/
OBSTYPE = 'object ' / OBSERVATION TYPE
OBSERVER= 'Blackman '
TELESCOP= '1.8-m' / This telescope
OBSERVAT= 'DAO' / Location
WIND_SPD= 1.8 / Wind speed, m/s
MAX_WND = 3.0 / Max wind speed 10 last min, m/s
WIND_DIR= 148.0 / Wind direction, degrees
WIND_CHL= 4.3 / Wind chill, deg C
OUT_TEMP= 4.8 / Outside temperature, deg C
REL_HUMI= 67.0 / Outside relative humidity, percent
DEWPOINT= -1.0 / Outside dew point, deg C
RA = '13:16:41.90' / AT START OF EXPOSURE
DEC = '17:41:22.00' / AT START OF EXPOSURE
HA = '+00:49:28.0' / AT START OF EXPOSURE
SIDEREAL= '14:06:10.0' / AT START OF EXPOSURE
EQUINOX = 2010.1 / AT START OF EXPOSURE
AIRMASS = 1.19 / AT START OF EXPOSURE
DOMEAZ = 179.80 / AT START OF EXPOSURE
FOCUS = 8750 / Newtonian focus
FILPOS = 3 / Newt. raw filter pos
FILNAME = "V" / Newt. raw filter pos
EXPNUM = 'dao_c182_2010_002450'
RELEASE = '2011-02-21T12:16:13'/
Any help would be greatly appreciated,Duncan

 
Profile Email
 Quote
AnTaR3s
 05/16/2010 06:33AM  
+++--
Chatty

Status: offline


Registered: 10/24/2009
Posts: 58
If you just want to batch process all your images in CCDPROC, and have no Imagetype, simply leave the field "Image Type" blank. I.e.: write a "space" in it and use a list or the asterisk to "*" process all your files.cheerse.g.:images = GD358*.fits List of CCD images to correct
(output = ) List of output CCD images
(ccdtype= ) CCD image type to correct
(max_cac= 1024) Maximum image caching memory (in Mbytes)
(noproc = no) List processing steps only?or use lists. Wink

 
Profile Email
 Quote
Duncan
 05/16/2010 06:33AM  
+----
Newbie

Status: offline


Registered: 05/15/2010
Posts: 13
But that won't do a bias and image flattening which ccdproc is able to batch run - that is really the true reason that I am trying to get imagetype in the short header so I can batch run bias subtraction and sky flattening? Unfortuneately I don't know an easier way than ccdproc to do those in batches.Thanks for the help so far though.Duncan

 
Profile Email
 Quote
AnTaR3s
 05/16/2010 06:33AM  
+++--
Chatty

Status: offline


Registered: 10/24/2009
Posts: 58
Maybe I don't understand what you want to do, but in the "ccdtype" field you write the type of images you want to correct. E.g.: In your Lightframes the Imagetype in the header is set to "Light". The you do the following:PACKAGE = ccdred
TASK = ccdprocimages = foo* List of CCD images to correct
(output = ) List of output CCD images
(ccdtype= Light) CCD image type to correct
(max_cac= 1024) Maximum image caching memory (in Mbytes)
(noproc = no) List processing steps only?(fixpix = yes) Fix bad CCD lines and columns?
(oversca= yes) Apply overscan strip correction?
(trim = yes) Trim the image?
(zerocor= yes) Apply zero level correction?
(darkcor= yes) 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= column) Read out axis (column|line)
(fixfile= Badpix.lis) File describing the bad lines and columns
(biassec= image) Overscan strip image section
(trimsec= image) Trim data section
(zero = mBias) Zero level calibration image
(dark = mDark) Dark count calibration image
(flat = mHAflat) 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...
With this setup the frames with the name foo* (everything with foo at the beginning) AND imagetype "Light" will be corrected using a badpixel-file, the overscan-region defined in the header, zero- and darkframe, flat-field (the masterframes created before) and finally trimmed...so, your bias subtraction and flattening are done in batch mode.cheersedit: If you do not write "Light" in the type-field (simply write a "space"), the process will run on every image with the name foo* with the same processes and of course in batch mode.

 
Profile Email
 Quote
Duncan
 05/16/2010 06:33AM  
+----
Newbie

Status: offline


Registered: 05/15/2010
Posts: 13
I thought about using the overscan region, although what I'm talking about is using the zero second exposures I took as bias (labeled bias in OBSTYPE) to correct any instrument imperfections. Then remove the skyflat through the same procedures. I have done this manually for each image but I should be able to do it by batches. Using lists would be fine but I don't know how to make lists of groups of images using information from the header - can I make lists by using OBSTYPE from the header. Once I make these lists it is easy enough from there.Thanks again for the help so far,
Duncan

 
Profile Email
 Quote
Duncan
 05/16/2010 06:33AM  
+----
Newbie

Status: offline


Registered: 05/15/2010
Posts: 13
Although this was a poorly worded thread I got an answer in another one so I thought I would post the answers link here incase anyone else does a search and reads this forum.So here it is: https://iraf.net/phpBB2/viewtopic.php?p=1464417#1464417Duncan

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