Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

helplog.37: colbias, ccdproc, fit1d, prescan, overscan

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
Guest
Guest





PostPosted: Mon Nov 14, 2005 9:15 pm    Post subject: helplog.37: colbias, ccdproc, fit1d, prescan, overscan Reply with quote

NUMBER: 37
KEYWORDS: colbias, ccdproc, fit1d, prescan, overscan
DATE: Mon Nov 14 14:13:04 MST 2005
FROM: valdes

Q: I have a question concerning the colbias command in the noao.bias
package of IRAF. I am working with a telescope which uses columns
1-48 and 2096-2158 as overscan regions. The bias is found by the
colbias command. I was wondering if it is poissible to set up the
parameters in such a way that both sections (so 1-48 and 2096-2158)
are used for this purpose. Could you help me with this question?

A: It is not common to use both the prescan and overscan columns at
the same time. The standard IRAF tasks for handling bias (colbias
and ccdproc) do not allow use of more than one contiguous region
for bias. However, if you wish to do so you can use FIT1D to do
what you want. The parameters I recommend are:


I R A F
Image Reduction and Analysis Facility
PACKAGE = imfit
TASK = fit1d

input = Images to be fit
output = Output images
(axis = 1) Axis to be fit
type = difference Type of output (fit, difference, ratio)
(interac= no) Set fitting parameters interactively?
(sample = 1-48,2096-2158) Sample points to use in fit
(naverag= -100) Number of points in sample averaging
(functio= chebyshev) Fitting function
(order = 2) Order of fitting function
(low_rej= 0.) Low rejection in sigma of fit
(high_re= 0.) High rejection in sigma of fit
(niterat= 1) Number of rejection iterations
(grow = 0.) Rejection growing radius in pixels
(graphic= stdgraph) Graphics output device
(cursor = ) Graphics cursor input
(mode = ql)

The type of "difference" subtracts the bias, the "sample"
parameter defines the data to use for the bias. The value of
-100 says to take the median of each bias region (a median is
good to avoid bad pixels and cosmic rays), and the function and
order fit a line between the two regions. The value of the fit
is subtracted from each pixel in the image. Read the help page
for this task for the various options.

To later trim away the bias regions you would use imcopy with image
sections.

cl> imcopy <image>[49:2095,*] <newimage>



Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.13 seconds