Welcome to iraf.net Tuesday, April 30 2024 @ 09:00 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 display (and implot) of fits in iraf
   
esemenko
 10/30/2006 10:33AM (Read 4876 times)  
++---
Junior

Status: offline


Registered: 10/02/2006
Posts: 16
Hello! Today I configured Iraf to use of FITS directly ( V2.12.2a-EXPORT on Debian linux). Seems all work fine except for displaying and plotting of data. DS9 display just a one central line of frame. Implot command plots this line too and I can't view any columns pressing "c". What is right way to do this? Thanks.
PS. Sorry for my English.

Cheers, Eugene.
 
Profile Email Website
 Quote
fitz
 10/30/2006 10:33AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You should always be able to use FITS images directly, what did you do to 'configure' iraf to do this? If you're only seeing one line of the image then either the display frame buffer you're using is only 1-D (e.g. 1024x1) or your image only has one row. Please post a header of the image (e.g. "cl> imhead myimage.fits long+") and the frame buffer you're using (e.g. "cl> show stdimage").-Mike

 
Profile Email
 Quote
esemenko
 10/30/2006 10:33AM  
++---
Junior

Status: offline


Registered: 10/02/2006
Posts: 16
Hi! I found that some other files are displayed correct. So, I think that problem is in fits headers.
Here is header of the "wrong" file:
[code:1:e8da1b8ed0]
ecl> imhead l6A03011 l+
l6A03011[2052][ushort]: FLAT
No bad pixels, min=1233., max=26106.
Line storage mode, physdim [2052], length of user area 5549 s.u.
Created Fri 12:22:18 27-Oct-2006, Last modified Thu 15:35:27 05-Oct-2006
Pixel file "l6A03011.mt" [ok]
BSCALE = 1.0E+00 / REAL = TAPE*BSCALE + BZERO
BZERO = 32768.0E+00 /
ORIGIN = 'BIAS Ver 3.0 ' /
OBSERVAT= 'SAO RAS ' /
TELESCOP= 'BTA ' /
INSTRUME= 'NES + P_CAM ' /
DETNAME = 'LORAL 2k x 2k ' /
DATE = '2006-10-03' /
DATE-OBS= '2006-10-03' /
FILENAME= 'l6A03011' /
OBJECT = 'FLAT ' /
EXPTIME = 17.000 /
TM_START= 53731 / 14/55/31 UT start time
TM_END = 53827 / 14/57/07 UT end time
CRVAL1 = 1 /
CRPIX1 = 1 /
CDELT1 = 1 /
CRVAL2 = 1 /
CRPIX2 = 1 /
CDELT2 = 1 /
GAINM = 'HIGH ' / High or Low
AMPLM = 'B ' / A / B or AB
CCDTEMP = -99.9 /
LN2TEMP = -148.5 /
COMMENT =
MPP = 0 /
CHIPID = '2K3EB PISKUNOV2 ' /
DATAMIN = 1233 /
DATAMAX = 26106 /
XOVERSC = 0 /
YOVERSC = 0 /
P_DEWAR = 3.8E-03 /
and so on.
[/code:1:e8da1b8ed0]Part of original header of the file l6A03011:
[code:1:e8da1b8ed0]
SIMPLE = T / FITS STANDARD
BITPIX = 16 / FITS BITS/PIXEL
NAXIS = 2 / NUMBER OF AXES
NAXIS1 = 2052 / X AXIS
NAXIS2 = 2052 / Y AXIS
NAXIS- = 1 / Z AXIS
BSCALE = 1.0E+00 / REAL = TAPE*BSCALE + BZERO
BZERO = 32768.0E+00 /
ORIGIN = 'BIAS Ver 3.0 ' /
OBSERVAT= 'SAO RAS ' /
TELESCOP= 'BTA ' /
INSTRUME= 'NES + P_CAM ' /
DETNAME = 'LORAL 2k x 2k ' /
DATE = '2006-10-03' /
DATE-OBS= '2006-10-03' /
FILENAME= 'l6A03011' /
OBJECT = 'FLAT ' /
EXPTIME = 17.000 /
TM_START= 53731 / 14/55/31 UT start time
TM_END = 53827 / 14/57/07 UT end time
[/code:1:e8da1b8ed0]"Good file":
[code:1:e8da1b8ed0]
ecl> imhead o011.fts l+
o011.fts[2050,480][ushort]: ThAr
No bad pixels, min=42., max=63262.
Line storage mode, physdim [2050,480], length of user area 2309 s.u.
Created Tue 10:18:23 31-Oct-2006, Last modified Sat 06:51:59 07-Oct-2006
Pixel file "o011.fts" [ok]
CRVAL1 = 0 / Offset in X
CRVAL2 = 60 / Offset in Y
DATE = '2006-10-06' / Creation data of this file
ORIGIN = 'DinaSystem v1.2' / ACQUSITION SYSTEM
DATE-OBS= '2006-10-06' / DATE (YYYY-MM-DD) OF OBS.
TELESCOP= '6m' / TELESCOPE NAME
INSTRUME= 'CCD' / INSTRUMENT
OBSERVER= ' ' / OBSERVERS
OBJECT = 'ThAr' / NAME OF IMAGE
PROG-ID = ' ' / observational program identifier
AUTHOR = ' ' / AUTHOR OF PROGRAM
BSCALE = 1.00 / REAL = TAPE*BSCALE + BZERO
BZERO = 32768.0 /
DATAMAX = 63262.0 / MAX PIXEL VALUE
DATAMIN = 42.0 / MIN PIXEL VALUE
FILENAME= 'O011.FTS' / original name of input file
IMAGETYP= 'obj' / object, flat, dark, bias, scan, eta, neon, push
OBSERVAT= 'SAO RAS' / observatory
TSTART = '20:14:46' / measurement start time (local) (hh:mm:ss)
EXPTIME = 60.000 / actual integration time (sec)
CAMTEMP = 137.304 / camera temperature (K)
DETECTOR= 'EEV CCD42-40' / detector
RATE = 55.0 / readout rate (KPix/sec)
GAIN = 2.080 / gain, electrons per adu
NODE = 'A' / output node (A, B, AB)
BINNING = '1x1' / binning
PXSIZE = '13.5 x 13.5' / pixel size (mkm x mkm)
UT = ' ' / universal time (hh:mm:ss.ms)
ST = ' ' / sidereal time (hh:mm:ss.ms)
RA = ' ' / Right Ascension (DD MM SS)
DEC = '+00 00 0.00' / Declination (DD MM SS)
EPOCH = 2006.700 / EPOCH OF RA AND DEC
Z = 0.0 / zenith distance
A = 0.0 / azimuth
PARANGLE= 0.0 / parallactic angle
ROTANGLE= 0.0 / field rotation angle
SEEING = ' ' / seeing
FILTER = ' ' / filter
FOCUS = 0.0 / focus of telescope (mm)
FOCALRAT= ' ' / focus of telescope (F/8, F/16, F/48)
IMSCALE = '0.238 x 0.238' / image scale ("/Pix x "/Pix)
CAMERA = 1 / camera number
RESOLUT = / resolution
SLITWID = 0.0 / slit width (")
MIRRTEMP= 0.0 / mirror temperature (C)
DOMETEMP= 0.0 / dome temperature (C)
OUTTEMP = 0.0 / outside temperature (C)
WIND = 0.0 / wind (m/s)
CLOUDS = 0 / clouds (%)
PRESSURE= 0.0 / pressure
MODE = ' ' / mode of instrument
DISPERSE= ' ' / disperser and/or dispersion A/px
SPERANGE= ' ' / spectral coverage
ORDER = / order of dispersion TILTPOS
TILTPOS = ' ' / tilt position
[/code:1:e8da1b8ed0]
In first case IRAF "think" that image is 1d while it is 2-dimensional. Such "incorrect" images work fine after transformation to standard .imh format.I configured IRAF to use FITS as default format changing variables imtype and imextn:
[code:1:e8da1b8ed0]
set imtype = "fits"
set imextn = "oif:imh fxf:fits,fit,mt,fts plf:pl qpf:qp stf:hhh,??h"[/code:1:e8da1b8ed0]

Cheers, Eugene.
 
Profile Email Website
 Quote
   
Content generated in: 0.16 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