Welcome to iraf.net Saturday, April 20 2024 @ 02:05 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 ccdproc processes calib. frames when ccdproc keyword set
   
evert
 05/21/2008 12:00PM (Read 2795 times)  
+----
Newbie

Status: offline


Registered: 01/24/2006
Posts: 8
Hi,I'm reducing some (object) frames through CCDPROC. The dark, zero and flatfield have already been reduced through some pipeline; I only had to trim them, which I did through CCDPROC as well. This resulted in the CCDPROC header keyword set for the calibration frames.
When running CCDPROC on my object files, however, I note that CCDPROC additionally processes the calibration files as well, ie it subtracts the bias from the dark and flatfield, and subtracts the dark from the flatfield. Even while these have already been processed and the CCDPROC flag set in their header.
On the CCDPROC help page, I find:"Having selected a calibration image it checks if it has been
processed by looking for the image header flag CCDPROC. If it is
not present then the calibration image is processed. When any
image has been processed the CCDPROC flag is added. For images
processed directly by ccdproc the individual processing flags are
checked even if the CCDPROC flag is present. However, the
automatic processing of the calibration images is only done if the
CCDPROC flag is absent! This is to make the task more efficient by
not having to check every flag for every calibration image for
every input image. Thus, if additional processing steps are added
after images have been partially reduced then input images will be
processed for the new steps but calibration images will not be
processed automatically."From that, I would think that the calibration frames shouldn't be processed. Could anyone confirm this behaviour, or clarify my understanding of the help text?
Is there any flag (in ccdproc or the ccdred package) that toggles this behaviour? I cannot find it.I guess the easy work-around is to add some dummy ZEROCOR and DARKCOR keywords to the respective headers, but I'd like to know if I just didn't miss anything obvious. Evertps: I'm using IRAF v2.14

 
Profile Email Website
 Quote
valdes
 05/21/2008 12:00PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
Hello Evert,I checked the code. While there could be some complexity I missed, it appears to me that the help page is incorrect. It looks like the CCDPROC keyword is written but not explicitly used by the tasks in CCDRED. Each operation set to yes in the CCDPROC parameters is checked against the appropriate keyword in the calibration data to decide whether the calibrations should be processed prior to applying them to the target data.So I believe you will need to put the appropriate flags in your calibration images.Yours,
Frank Valdes

 
Profile Email
 Quote
evert
 05/21/2008 12:00PM  
+----
Newbie

Status: offline


Registered: 01/24/2006
Posts: 8
Thanks for cross-checking, Frank.
So, is it best if I file a bug report for the help page, or should I just leave things as they currently are?Cheers,Evert

 
Profile Email Website
 Quote
valdes
 05/21/2008 12:00PM  
+++++
Active Member

Status: offline


Registered: 11/11/2005
Posts: 728
Hi Evert,Your mail is essentially the bug report. So now it is in our lap to fix the help page for a future release. So you don't need to take any other action.Thank you for pointing our the inconsistency.Frank

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