Welcome to iraf.net Tuesday, April 30 2024 @ 12:52 PM GMT
paulartcoelho |
03/10/2006 08:50PM (Read 5165 times)
|
|
|
Status: offline
Registered: 03/09/2006
Posts: 18
|
hello,i'm working on photometry taken in gemini, which has a fits file organized in MEFs. in order to work easier with other packages i'm used to imcopy the gemini file to a "normal" fits file. something like :imcopy halo_pos2_i[sci,1,inherit] fooi realized that when i do this at mac os x, the image is displayed smaller than the original one.fxhead shows me the size of the image is okgmos> fxhead halo_pos2_i.fits,foo.fits
EXT# EXTTYPE EXTNAME EXTVE DIMENS BITPI INH OBJECT
0 halo_pos2_i.fits 16 M32 Halo pos
1 IMAGE SCI 1 3108x2304 -32 F M32 Halo pos 0 foo.fits 3108x2304 -32 M32 Halo pos but at ds9 the original image ranges in x 356 - 2730 while foo ranges 760 - 2340.i understand is something about display taskgdisplay halo_pos2_i 1 -> works (gdisplay from gemini package)
display foo 1 -> don't
display halo_pos_2_i[sci,1] 1 -> don't either but puzzles me that this happens only at my mac and not when i run iraf on a linux machine.help??thx
paula
|
|
|
|
fitz |
03/10/2006 08:50PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
As long as the IMSTAT output is the same I wouldn't worry. DS9 as a server can only display the pixel values approximated by the z1/z2 value. In the DISPLAY task these are done using a grid of about 1000 spread across the image. GDISPLAY on the other hand may do a different scaling because of image binning or magnification, and so arrive at different z1/z2 values.See the recent post on 'xiraf and ds9' for more about the problem, but keep in mind the values displayed are only approximate. XImtool will display actual values and WCS, similarly commands in IMEXAM will print actuals pixels/wcs. -Mike
|
|
|
|
paulartcoelho |
03/10/2006 08:50PM
|
|
|
Status: offline
Registered: 03/09/2006
Posts: 18
|
hello mike,what i mean is that the physical size of the image displayed is smaller, not the scale. only the central part is shown with display, not the entire image.i mean, using gdisplay (or opening directly from ds9) i see the center of my galaxy, which lays close to one of the corners of the image. but if i use display, i don´t see it. because slices of the image at all borders are really cut off.i realized i can workaround this simply opening the image directly in ds9 and then working on it normally. but i think this is somehow curious anyway, also because it happens on my mac but not in my linux machine...cheers,
paula
|
|
|
|
paulartcoelho |
03/10/2006 08:50PM
|
|
|
Status: offline
Registered: 03/09/2006
Posts: 18
|
ops! i just saw the other post you mentioned. i´ll check out about the /usr/local/lib/imtoolrc symlink. sorry...paula
|
|
|
|
paulartcoelho |
03/10/2006 08:50PM
|
|
|
Status: offline
Registered: 03/09/2006
Posts: 18
|
ok, here's how i solved: i have to set stdimage=imtgmos or imtgmos2, then display shows the full image. with the imtgmos4 (my default at other linux plataform) or imtgmos8, the image is not shown entirely.
|
|
|
|
| |
|
Content generated in: 0.13 seconds |
|