View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Apall routine problem

adamclarke wrote on Jan 30, 2011

Hey

Having a problem using the apall routine as outlined in the IRAF guides. When I read in an image and go on to define apertures, the routine seems to be plotting a spectra rather than a pixel count in the y direction.

Basically it looks to me that the x and y axis are backwards to what IRAF expects them to be. And without it being the right way, It cant extract the spectra.

Any suggestions on how to fix this would be really good. Seems odd that IRAF defaults to having dispersion vertical on the ccd and spacial dispersion on the horizontal plane. I thought most CCD's were the other way around as is mine.

Thanks a bunch.
Adam

Mike Fitzpatrick wrote on Jan 30, 2011

Do an "epar apextract" and reset the 'dispaxis' parameter. This is what allows the dispersion to run in either direction, it sounds like the default is just different from what you need.

adamclarke wrote on Jan 30, 2011

Thank you =] I'll give this a go tomorrow.

adamclarke wrote on Jan 30, 2011

This worked fine Thanks.

Another issue now is that i save the aperture details for use on the next ccd image.
Then do:

$ apall a2600265.fits ref=database/apa2600263

And i get an error saying that Refernce apertures cannot be found. I'm following a guide. So I dont think its something I have done wrong. Its definitely written the file from the previous CCD image to database/apa2600263

Mike Fitzpatrick wrote on Jan 30, 2011

I think what you want to do is set the 'reference' parameter to be the name of the image who's solution you want to use, not the name of the database entry.

adamclarke wrote on Jan 30, 2011

Aha. I understand, ill try that and let you know.

Thanks for the speedy response again =]

Last post on Jan 30, 2011