Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Apall routine problem

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
adamclarke



Joined: 30 Nov 2010
Posts: 9

PostPosted: Sun Jan 30, 2011 1:24 pm    Post subject: Apall routine problem Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Sun Jan 30, 2011 2:07 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
adamclarke



Joined: 30 Nov 2010
Posts: 9

PostPosted: Sun Jan 30, 2011 4:05 pm    Post subject: Reply with quote

Thank you =] I'll give this a go tomorrow.
Back to top
View user's profile Send private message
adamclarke



Joined: 30 Nov 2010
Posts: 9

PostPosted: Mon Jan 31, 2011 2:38 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Mon Jan 31, 2011 4:54 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
adamclarke



Joined: 30 Nov 2010
Posts: 9

PostPosted: Tue Feb 01, 2011 12:35 am    Post subject: Reply with quote

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

Thanks for the speedy response again =]
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.12 seconds