View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

STA2 CCDRED translation file

Francisco Valdes wrote on Mar 22, 2010

From: Beatrice Mueller <mueller@psi.edu ([email]mueller@psi.edu[/email])>
Date: March 20, 2010 11:13:04 AM MST

To: Frank Valdes <valdes@noao.edu ([email]valdes@noao.edu[/email])>

Subject: header for new chip STA2

Frank,

Here is a fits file 

Here is what I get  when I do a ccdlist

kp100320_085.fits[1352,2000][real][none][]:Landolt  PG1657+078

[sample image here]

--------------------------------------------
Beatrice E. A. Mueller
Planetary Science Institute
1700 E. Ft. Lowell Rd., Suite 106
Tucson AZ 85719
mueller at psi . edu
phone: 520-547-3950
FAX: 520-795-3697

From: Frank Valdes <valdes@noao.edu ([email]valdes@noao.edu[/email])>

Date: March 22, 2010 1:21:04 PM MST

To: muller@psi.edu ([email]muller@psi.edu[/email])

Subject: STA2

Hi Beatrice,

The instrument is considered engineering by KPNO and so the headers have not been finalized.  However, what you need is simple.  First of all, the reference is "cl> phelp instruments".  The beginnings of the file you need is

cl> type STA2.dat
imagetyp        imgtype
subset          filtname

Since I only have the one example of the IMGTYPE keyword I don't know if the IMGTYPE values need translations.  The example you sent uses the same value as expected by CCDPROC (object) so no translation is needed.  However, if you find that zeros and flats are not recognized then you would add lines like:

dflat flat
bias zero

The first column is the string you see in the header and the second is the type for CCDPROC.  If the first column has spaces then you need to quote them.  Again see the help page for "instruments".

Place the file in an appropriate directly.  Let us say it is where you login to IRAF; i.e. home$.  Then you would

cl> epar ccdred
[Set the instrument parameter to "home$STA2.dat"

The you can do something like:

cl> ccdlist *fits
kp100320_085.fits[1352,2000][real][object][R]:Landolt  PG1657+078
cl> ccdlist *fits l+
kp100320_085.fits[1352,2000][real][object][R]:Landolt  PG1657+078
   exposure=30 darktime=30
   [TO BE DONE] Bad pixel file is foo.pl
   [TO BE DONE] Overscan strip is [1305:1349,1:2000]
   [TO BE DONE] Trim image section is [1:1300,1:2000]
   [TO BE DONE] Zero level correction
   [TO BE DONE] Flat field correction

This will show that the exposure type, filter, exposure time, and bias sections are recognized.

Frank

Post generated using Mail2Forum (http://www.mail2forum.com)

Last post on Mar 22, 2010