imarith problem: Image is not 2 dimension
Eugene Romas wrote on Oct 30, 2006
Sorry for bad english - i'm from Russia... :-)
About problem: then i probe to allign 3 *.fits images with moon, i get error:
"Image moon1 is not 2 dimension"
But imcomb of this 3 images are working fine!
IRAF version is 2.13b
System: Gentoo Linux
One more - this 3 images i have in the list: @list_moon
I created moon1.coords and insert into this file:
1272 1347
As i know, in this file must be placed coords of pixel wich be centerd ither images?
In the file shifts.txt i inserted shifts in the pixels for each images:
0 0
97 42
27 113
Where i do wrong? Help me please!
PS. IRAF - is a power! But i bad know this software...
About problem: then i probe to allign 3 *.fits images with moon, i get error:
"Image moon1 is not 2 dimension"
But imcomb of this 3 images are working fine!
IRAF version is 2.13b
System: Gentoo Linux
One more - this 3 images i have in the list: @list_moon
I created moon1.coords and insert into this file:
1272 1347
As i know, in this file must be placed coords of pixel wich be centerd ither images?
In the file shifts.txt i inserted shifts in the pixels for each images:
0 0
97 42
27 113
Where i do wrong? Help me please!
PS. IRAF - is a power! But i bad know this software...
Mike Fitzpatrick wrote on Oct 30, 2006
About problem: then i probe to allign 3 *.fits images with moon, i get error:
"Image moon1 is not 2 dimension"
But imcomb of this 3 images are working fine!
IMCOMBINE is able to work on non-2D images, however IMARITH cannot. You probably have either a 1-D or 3-D image (i.e. an image 100x100x1 is considered 3-D]. You can use the IMHEADER task to check the image, e.g.
cl> imhead moon1.fits long+If it's a 3-D image then something like
cl> imarith moon1[*,*,1] + moon[*,*,1] newmoonwill use the image section [*,*,1] to extract the 2-D band from the image, or else do the same but IMCOPY the section to a new image.
One more - this 3 images i have in the list: @list_moon
I created moon1.coords and insert into this file:
1272 1347
As i know, in this file must be placed coords of pixel wich be centerd ither images?
In the file shifts.txt i inserted shifts in the pixels for each images:
0 0
97 42
27 113
I assume we're talking about IMCOMBINE again? If the shift.txt file is what you give the 'offsets' parameter then that shift will be applied to each image, but I'm not sure what/where you're using the moon1.coords file. Please post more information. Hope this helps.
Cheers,
-Mike
Eugene Romas wrote on Oct 30, 2006
Sorry... I posted mistake information!!! Here is what about i talked:
So, what i need to do for centered all 3 images and make a summ if this?
As i thinking i must to do next:
1. centering all 3 images
2. summ all its
Isn't it?
One more sorry about my english...
Thanks for help me...[/code]
cl> imalign @list_moon moon1 moon1.coords newmoon4 shifts=shifts
#Coords Image X-center Err Y-center Err Num
Warning: Image is not 2 dimensional
moon1.fit: ERROR: No shifts were calculated.
So, what i need to do for centered all 3 images and make a summ if this?
As i thinking i must to do next:
1. centering all 3 images
2. summ all its
Isn't it?
One more sorry about my english...
Thanks for help me...[/code]
Eugene Romas wrote on Oct 30, 2006
Here is my last result:
moon.shift contain next:
Thirst lin contain 0 0 because it is shift of normal image. All other - containt shift by X and Y...
So, what i do wrong again?
I need result like after Registax working...
HELP ME!!! EPLAIN ME, PLZ!!!
This is my 3-d night in the IRAF... But no results!
cl> imcomb @list_moon moons2323 offsets=moon.shift
Warning: IMCOMBINE: Error in offset list
Warning: Can't set output geometry
moon.shift contain next:
0 0
49 63
1 113
Thirst lin contain 0 0 because it is shift of normal image. All other - containt shift by X and Y...
So, what i do wrong again?
I need result like after Registax working...
HELP ME!!! EPLAIN ME, PLZ!!!
This is my 3-d night in the IRAF... But no results!
Last post on Oct 30, 2006