View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Question regarding PSFMeasure command

Guest wrote on Jun 13, 2006

To Whom it May Concern, I am currently using the psfmeasure command from the NOAO Obsutil package to compute FWHM's for multiple stars in multiple images. (I am using the extracted FWHM's to adjust the aperture radius for photometry, attempting to compensate for focus variations during the night.) I am using a coordinates file for the coords parameter, mark1,  display = no, and having it save results to a logfile. The problem I running into is that every time my program runs through an image and uses psfmeausre to compute the FWHM's, the graphics display pops up, displaying FWHM vs. position ect., and I have to hit "q" to exit it and resume the program. I would like to disable it, so thay my program can run without interaction, but I cannot find a parameter to disable it with, nor any other way. Do you know how I might prevent the graph from displaying, and just log the results? Any help you could offer would be greatly appreciated. Thank you, Jeff Coughlin Summer Researcher University of Georgia Dept. PhysicsAstronomy jlcough@learnlink.emory.edu
Post generated using Mail2Forum (http://www.mail2forum.com)

Francisco Valdes wrote on Jun 13, 2006

Hello Jeff,

What you need to do is create a file to specify for the "graphcur" parameter. It can just be a file with a single line containing just the letter q. So you specify the input coordinates with the "imagecur" parameter and graphics command with the "graphcur" parameter. The last thing you may or may not want to do is to have the graphics appear (do nothing), throw it away (psfmeasure ... G>> dev$null), or capture the graphics in an IRAF metacode file (psfmeasure ... G>> myfile.mc). In the last case you can then use tools in the plot package to later plot the graphs.

Frank Valdes

Last post on Jun 13, 2006