| impars | xapphot | impars |
impars -- Edit the image data parameters
impars
Xguiphot users should be aware that the parameters ikgain or igain and ikreadnoise or ireadnoise must be correctly set in order to obtain valid magnitude error estimates from xguiphot.
Impars defines the xguiphot parameters which are image data dependent. Impars parameters are functions of the telescope and instrument optics, the detector noise and linearity characteristics, and the observing conditions. Parameters in the findpars , cenpars , skypars and photpars parameter sets are defined in units of the impars parameters.
The parameter iscale sets the length scale used by the object detection, centering, sky fitting and photometry algorithms. Iscale converts distance measurements in iscale units to distance measurements in pixel units. The impars parameters ihwhmpsf , the cenpars parameters cradius and cxyshift , the skypars parameters srannulus , swannulus , and srgrow , and the photpars parameter papertures are defined in units of iscale. The iscale parameter is most useful in cases where the measurements are to be compared to published aperture photometry measurements in the literature.
If the parameter iscale is defined in units of the half-width at half-maximum of the psf per pixel, then the remaining iscale dependent object detection, centering, sky fitting, and photometry algorithm parameters may be defined n units of the half-width at half-maxima of the psf. Obviously ihwhmpsf should be set to 1.0 in that case. Once an optimal set of iscale dependent algorithm parameters is chosen, the user need only edit the iscale parameter before executing xguiphot on a new set of images.
The parameter ihwhmpsf defines the half-width at half-maximum of the image psf. Most xguiphot algorithms do not use ihwhmpsf. The exceptions are the object detection algorithms and the the centering algorithms "gauss1d" and "ofilter1d".
If iemission is "yes" the measured objects are assumed to be emission objects; if it is "no" the measured objects are assumed to be absorption objects. In most cases xguiphot users should leave iemission set to "yes".
The parameter iskysigma provides an estimate of the standard deviation of the background pixels. The centering algorithms use iskysigma to estimate the signal to noise ratio in the centering box, and in combination with the cenpars.cthreshold parameter to define the lower intensity limit for good pixels in the centering aperture. If iskysigma is INDEF or <= 0.0 the background noise in the centering aperture is assumed to be 0 and the default lower intensity limit is used. If the sky fitting algorithm is "zero" or "constant" iskysigma is used to estimate the contribution of the background noise to the magnitude error.
The imindata and imaxdata parameters define the good data range. Bad pixels in the centering subraster and in the photometry apertures are noted, the measurements tagged with an error code, and the resulting magnitudes set to INDEF. Bad data in the sky aperture is removed before the sky fit is performed. Xguiphot users should set imaxdata before making measurements. Normally imindata should be set to a value 5-7 standard deviations below the average sky value. However if sky values vary a lot within a set of images it may be safer to leave imindata set to INDEF.
The two parameters ikgain and igain define the image gain. The ikgain parameter specifies which keyword in the image header contains the gain value. If ikgain is undefined or not present in the image header, the value of igain is used. Igain must be in units of electrons per ADU. Xguiphot users should set either ikgain or igain before making measurements in order to insure that the computed magnitude errors are correct.
The two parameters ikreadnoise and ireadnoise define the image readout noise. The ikreadnoise parameter specifies which keyword in the image header contains the readout noise value. If ikreadnoise is undefined or not present in the image header the value of ireadnoise is used. Ireadnoise is assumed to be in units of electrons. Xguiphot users should set either ikreadnoise or ireadnoise before making any measurements in order to insure the computed magnitude errors are correct.
The xguiphot magnitudes are normalized to an exposure time of 1 timeunit using the value of the exposure time in the image header parameter ikexptime or ietime . If ikexptime is undefined or not present in the image header the value of ietime is used. Exposure times may be in arbitrary units but the units must be the same for image sets which are analyzed together. Xguiphot users should set ikexptime in order to simplify future reduction steps.
The two parameters ikairmass and iairmass define the airmass of the observation. The ikairmass parameter specifies which keyword in the image header contains the airmass value. If ikairmass is undefined or not present in the image header the value of iairmass is used. The airmass values are not used in any xguiphot computations. Xguiphot users should set ikairmass in order to simplify future reduction steps.
The two parameters ikfilter and ifilter define the filter of the observation. The ikfilter parameter specifies which keyword in the image header contains the filter id. If ikfilter is undefined or not present in the image header the value of ifilter is used. The filter id values are not used in any xguiphot computations. Xguiphot users should set ikfilter in order to simplify future reduction steps.
The two parameters ikobstime and iotime define the time of the observation, e.g. UT. The ikobstime parameter specifies which keyword in the image header contains the time stamp of the observation. If ikobstime is undefined or not present in the image header the value of iotime is used. The time of observations values are not used in any xguiphot computations computations. Xguiphot users should set ikobstime in order to simplify future reduction steps.
1. List the image data dependent parameters.
xp> lpar impars
2. Edit the image data dependent parameters.
xp> impars
3. Edit the image data parameters and run xguiphot.
xp> epar xguiphot ... edit a few parameters ... move to the impars parameter and type :e ... edit the impars parameters and type :q ... finish editing the other pset and task parameters ... type :go to startup the task
4. Save the current image data dependent parameter set in a text file call imnite1.par.
xp> impars ... edit a few parameters ... type ":w imnite1.par" from within epar
epar,lpar,xguiphot,findpars,cenpars,skypars,photpars