View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

imcentroid on mosaiced fits files

JanRap wrote on Sep 14, 2009

Hi

I am trying to perform imcentroid on a list of SALT fits images. The images are mosaics of images from 2 CCDs with 2 amplifiers each, used in Frame Transfer mode. A more detailed description of the SALTICAM instrument can be seen at http://www.salt.ac.za/telescope/instrumentation/salticam/.

Although the extensions are not displayed when listing the images in a terminal, a [SCI] extension appears when opening them in ds9, and my experience is that this extension has to be added when performing any IRAF task on these images.

I have tried to perform imcentroid with and without the extensions added to the list required by the "input" parameter, but in both cases imcentroid fails to open the images. I made sure that the .coo file and the image list are in the same directory as the fits files and I ran the command from the correct directory.

Here is an example of the error message and the preceding code:

boyden> imcentroid > 'centroids.txt'
List of input images (list.txt): 
Reference image (mbxpS200806010100.fits[SCI]): 
Reference coordinates file (20080601_100.coo): 
Warning: Cannot open image (list.txt)
boyden>


Any help would be greatly appreciated.

Mike Fitzpatrick wrote on Sep 14, 2009

Try passing in the image list with '@list.txt' to tell iraf to read from the file, using just 'list.txt' means to use that filename (which of course isn't an image).

-Mike

JanRap wrote on Sep 14, 2009

Yes, it works fine now. :oops: Thanks Mike.

-Daniël

Last post on Sep 14, 2009