View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

pexamine - marking objects

kanaan wrote on Jun 30, 2008

pexamine:

in both graphical in image mode I press 'o' and get:

COLUMN VALUE (UNITS)

ID 2502. (##)
XCENTER 972.486 (pixels)
YCENTER 1987.687 (pixels)
MSKY 1163.871 (counts)
MAG 8.034 (magnitudes)
MERR 0.313 (magnitudes)
NITER 48. (##)
CHI 20.299 (##)
SHARPNESS -4.099 (##)

1) when in image mode the cursor goes back to the graphics window, sitting at some random place on the plot. My understanding is that the cursor should sit on the corresponding point (I have the default merr x mag plot) (footnote 1). Is my understanding correct? Is it possible to fix this?

2) when in graphics mode the cursor stays on the point. My wish is that it would mark the object on the image display. Is my wish satisfiable? This would make data inspection a lot easier :-)

cheers

Antonio

footnote:

(1) Pexamine's man page says: "If an object is found and the current plot type is X-Y the graphics cursor is moved to the position of the selected object in the X-Y plot." That's exactly what I did. And pexamine did find an object.

Francisco Valdes wrote on Jun 30, 2008

There is a difference between the capabilities of the graphics window and the image display. Without going into a long explanation, the program can always move the graphics cursor (which is part of the graphics window) but not the image cursor (which is the general xwindows cursor though with the shape changed). When the program asks to read the image cursors it may move the cursor depending on when and how it was moved previously. So if you see the cursor in the graphics window during image input you will have to manually move it.

So I believe what you describe is possible. Also there is no "marking" feature for the display :(

Yours,
Frank Valdes

Last post on Jun 30, 2008