Welcome to iraf.net Saturday, May 11 2024 @ 05:58 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 "Image(s) are not two dimensional"!
   
cosmologist
 12/30/2011 06:50PM (Read 2200 times)  
++++-
Regular Member

Status: offline


Registered: 03/30/2009
Posts: 117
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!

 
Profile Email
 Quote
fitz
 12/30/2011 06:50PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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.

 
Profile Email
 Quote
cosmologist
 12/30/2011 06:50PM  
++++-
Regular Member

Status: offline


Registered: 03/30/2009
Posts: 117
But the header doesn't show any higher dimentions:CCDSEC = '[15:2055,56:820]'
BIASSEC = '[1:2041,1:765]'

 
Profile Email
 Quote
fitz
 12/30/2011 06:50PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I meant to look at the output of IMHEAD such as with[code:1:9bbbe94f2a]
cl> imhead dev$pix
dev$pix[512,512][short]: m51 B 600s
[/code:1:9bbbe94f2a]where this says the image is 512x512. You could also do something like[code:1:9bbbe94f2a]cl> hselect foo.fits i_naxis yes[/code:1:9bbbe94f2a]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.

 
Profile Email
 Quote
   
Content generated in: 0.16 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login