Welcome to iraf.net Saturday, May 11 2024 @ 05:58 AM GMT
cosmologist |
12/30/2011 06:50PM (Read 2200 times)
|
|
|
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!
|
|
|
|
fitz |
12/30/2011 06:50PM
|
|
|
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.
|
|
|
|
cosmologist |
12/30/2011 06:50PM
|
|
|
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]'
|
|
|
|
fitz |
12/30/2011 06:50PM
|
|
|
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.
|
|
|
|
| |
|
Content generated in: 0.16 seconds |
|