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 

"Image(s) are not two dimensional"!

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
cosmologist
Esteemed IRAF Fellow


Joined: 30 Mar 2009
Posts: 112

PostPosted: Fri Dec 30, 2011 6:50 pm    Post subject: "Image(s) are not two dimensional"! Reply with quote

When I run apall for my images I get the warnning:

Warning: Image(s) are not two dimensional (ignoring higher dimensions)

How can my image be of higher dimensions ?!

Thanks!
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Fri Dec 30, 2011 10:19 pm    Post subject: Reply with quote

Use IMHEAD to check the dimensions of an image, and note that a size such as "[1024,1024,1]" is technically considered a 3-D image. You can use image sections such as "[*,*,1]" to pass in a true 2-D section, or IMCOPY it out to a new image.
Back to top
View user's profile Send private message
cosmologist
Esteemed IRAF Fellow


Joined: 30 Mar 2009
Posts: 112

PostPosted: Fri Dec 30, 2011 11:07 pm    Post subject: Reply with quote

But the header doesn't show any higher dimentions:

CCDSEC = '[15:2055,56:820]'
BIASSEC = '[1:2041,1:765]'
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Sat Dec 31, 2011 12:42 am    Post subject: Reply with quote

I meant to look at the output of IMHEAD such as with

Code:

cl> imhead dev$pix
dev$pix[512,512][short]: m51  B  600s


where this says the image is 512x512. You could also do something like

Code:
cl> hselect foo.fits i_naxis yes


to simply print the number of axes in the image. What you've shown are simple keywords in the header, this doesn't actually say how big the image is.
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.09 seconds