Welcome to iraf.net Tuesday, April 30 2024 @ 12:52 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 display @ mac os x
   
paulartcoelho
 03/10/2006 08:50PM (Read 5165 times)  
++---
Junior

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

 
Profile Email
 Quote
fitz
 03/10/2006 08:50PM  
AAAAA
Admin

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

 
Profile Email
 Quote
paulartcoelho
 03/10/2006 08:50PM  
++---
Junior

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

 
Profile Email
 Quote
paulartcoelho
 03/10/2006 08:50PM  
++---
Junior

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

 
Profile Email
 Quote
paulartcoelho
 03/10/2006 08:50PM  
++---
Junior

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.

 
Profile Email
 Quote
   
Content generated in: 0.13 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