Status: offline
Registered: 05/24/2007
Posts: 12
|
Hi Emma,Thanks for your reply. I change the version to iraf 2.12.2 and Gemini 1.9 and add some lines into GMOSgratings.dat. The error never come again. I don't know why I have to use older version. 1) call to gsflat and the list of parametersinflats,s,a,"flat*",,,"Input flatfields"
specflat,s,a,"nflat",,,"Output normalized flat (MEF)"
fl_slitcorr,b,h,no,,,"Correct output for Illumination/Slit-Function"
slitfunc,s,h,"",,,"Slit Function (MEF output of gsslitfunc)"
fl_keep,b,h,no,,,"Keep imcombined flat?"
combflat,s,h,"",,,"Filename for imcombined flat"
fl_over,b,h,no,,,"Subtract overscan level"
fl_trim,b,h,yes,,,"Trim off overscan region"
fl_bias,b,h,yes,,,"Subtract bias image"
fl_dark,b,h,no,,,"Subtract (scaled) dark image"
fl_qecorr,b,h,no,,,"QE correct the input images? (NOT YET IMPLEMENTED)"
fl_fixpix,b,h,yes,,,"Interpolate across chip gaps"
fl_vardq,b,h,no,,,"Create variance and data quality frames"
bias,s,h,"bias",,,"Bias image"
dark,s,h,"",,,"Dark image"
key_exptime,s,h,"EXPTIME",,,"Exposure time header keyword"
key_biassec,s,h,"BIASSEC",,,"Header keyword for overscan strip image section"
key_datasec,s,h,"DATASEC",,,"Header keyword for data section (excludes the overscan)"
rawpath,s,h,"",,,"GPREPARE: Path for input raw images"
sci_ext,s,h,"SCI",,,"Name of science extension"
var_ext,s,h,"VAR",,,"Name of variance extension"
dq_ext,s,h,"DQ",,,"Name of data quality extension"
key_mdf,s,h,"MASKNAME",,,"Header keyword for the MDF"
mdffile,s,h,"",,,"MDF to use if keyword not found"
mdfdir,s,h,"gmos$data/",,,"MDF database directory"
bpm,s,h,"",,,"Name of bad pixel mask file or image"
gaindb,s,h,"default",,,"Database with gain data"
gratingdb,s,h,"gmos$data/GMOSgratings.dat",,,"Gratings database file"
filterdb,s,h,"gmos$data/GMOSfilters.dat",,,"Filters database file"
bpmfile,s,h,"gmos$data/chipgaps.dat",,,"Info on location of chip gaps"
refimage,s,h,"",,,"Reference image for slit positions"
qe_refim,s,h,"",,,"QE wavelength reference image. (NOT YET IMPLEMENTED)"
fl_keep_qeim,b,h,yes,,,"Keep QE correction? (NOT YET IMPLEMENTED)"
qe_corrpref,s,h,"qecorr",,,"Prefix for QE correction files. (NOT YET IMPLEMENTED)"
qe_corrimages,s,h,"",,,"Name for QE correction data. (NOT YET IMPLEMENTED)"
qe_data,s,h,"gmosQEfactors.dat",,,"Data file that contains QE information. (NOT YET IMPLEMENTED)"
qe_datadir,s,h,"gmos$data/",,,"Directory containg QE data file. (NOT YET IMPLEMENTED)"
sat,s,h,"default",,,"Saturation level in raw images"
xoffset,r,h,INDEF,,,"X offset in wavelength [nm]"
yoffset,r,h,INDEF,,,"Y offset in unbinned pixels"
yadd,r,h,0.,,,"Additional pixels to add to each end of MOS slitlet lengths"
wave_limit,r,h,INDEF,,,"Upper wavelength limit of cut spectra (nm). Only for use with fl_detec=no."
fl_usegrad,b,h,no,,,"Use gradient method to find MOS slits"
fl_emis,b,h,no,,,"mask emission lines from lamp (affected pixels set to 1. in output)"
nbiascontam,s,h,"default",,,"Number of columns removed from overscan region"
biasrows,s,h,"default",,,"Rows to use for overscan region"
minval,r,h,INDEF,,1.,"Minimum pixel value in normalized flat"
fl_inter,b,h,no,,,"Fit response interactively?"
fl_answer,b,h,yes,,,"Continue interactive fitting?"
fl_detec,b,h,no,,,"Fit response detector by detector rather than slit by slit?"
fl_seprows,b,h,yes,,,"Fit and normalize each row separately?"
function,s,h,"spline3",spline3|legendre|chebyshev|spline1,,"Fitting function for response"
order,s,h,"15",,,"Order of fitting function, minimum value=1"
low_reject,r,h,3.,,,"Low rejection in sigma of response fit"
high_reject,r,h,3.,,,"High rejection in sigma of response fit"
niterate,i,h,2,,,"Number of rejection iterations in response fit"
combine,s,h,"average",,,"Combination operation"
reject,s,h,"avsigclip",,,"Rejection algorithm"
masktype,s,h,"goodvalue",none|goodvalue,,"Mask type"
maskvalue,r,h,0.,,,"Mask value"
scale,s,h,"mean",,,"Image scaling"
zero,s,h,"none",,,"Image zeropoint offset"
weight,s,h,"none",,,"Image weights"
statsec,s,h,"",,,"Statistics section"
lthreshold,r,h,INDEF,,,"Lower threshold"
hthreshold,r,h,INDEF,,,"Upper threshold"
nlow,i,h,1,0,,"minmax: Number of low pixels to reject"
nhigh,i,h,1,0,,"minmax: Number of high pixels to reject"
nkeep,i,h,0,0,,"Minimum to keep or maximum to reject"
mclip,b,h,yes,,,"Use median in sigma clipping algorithms?"
lsigma,r,h,3.,,,"Lower sigma clipping factor"
hsigma,r,h,3.,,,"Upper sigma clipping factor"
key_ron,s,h,"RDNOISE",,,"Keyword for readout noise in e-"
key_gain,s,h,"GAIN",,,"Keyword for gain in electrons/ADU"
ron,r,h,3.5,0.,,"Readout noise rms in electrons"
gain,r,h,2.2,1.0000000000000E-5,,"Gain in e-/ADU"
snoise,s,h,"0.0",,,"ccdclip: Sensitivity noise (electrons)"
sigscale,r,h,0.1,,,"Tolerance for sigma clipping scaling correction"
pclip,r,h,-0.5,,,"pclip: Percentile clipping parameter"
grow,r,h,0.,,,"Radius (pixels) for neighbor rejection"
ovs_flinter,b,h,no,,,"Interactive overscan fitting?"
ovs_med,b,h,no,,,"Use median instead of average in column bias?"
ovs_func,s,h,"chebyshev",spline3|legendre|chebyshev|spline1,,"Overscan fitting function"
ovs_order,i,h,1,,,"Order of overscan fitting function"
ovs_lowr,r,h,3.,,,"Low sigma rejection factor"
ovs_highr,r,h,3.,,,"High sigma rejection factor"
ovs_niter,i,h,2,,,"Number of rejection iterations"
fl_double,b,h,no,,,"Make double flats for nod-and-shuffle science"
nshuffle,i,h,0,,,"Number of shuffle pixels (unbinned)"
logfile,s,h,"/home/by/use_iraf/Q49/By_m101/tes/gmos.log",,,"Logfile name"
verbose,b,h,yes,,,"Verbose"
status,i,h,1,,,"Exit status (0=good)"
scanfile,*struct,h,"",,,"Internal use only"
mode,s,h,"ql",,,2) the output of "show home" /home/by/3) the output of "show uparm" home$uparm/4) the path to my login.cl and uparm directory /home/by/use_iraf/login.cl
/home/by/uparmThanks for your time.Bai
|