Welcome to iraf.net Thursday, March 28 2024 @ 11:26 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 imalign problems
   
sinn1231
 06/04/2014 05:19PM (Read 1591 times)  
+----
Newbie

Status: offline


Registered: 06/04/2014
Posts: 4
Hello!
I have been trying to use imalign to align my images (obviously), and have run into an error. I get a warning sign: Warning: Reading file, only one value on line. Which results in an error with no shifts calculated. I cannot seem to find what I am doing wrong. Here is the files I've been using and other useful information. Any help is greatly appreciated! Thank you

input: imlist.rtf
reference: mar10_13_0050.fits
coords: fitcord.rtf
output: imoutput.rtf
shifts: newshifts.rtf
boxsize: 7
bigbox: 11

imlist.rtf:

mar10_13_0050.fits
mar10_13_0047.fits
mar10_13_0048.fits
mar10_13_0049.fits
mar10_13_0051.fits
mar10_13_0052.fits
mar10_13_0053.fits
mar10_13_0054.fits

newshifts.rtf:

0.00 0.00
-5.51 2.42
-4.68 0.21
0.68 -.51
-43.47 43.82
-42.83 44.98
-47.26 42.64
-48.79 44.58

fitcord.rtf:

1486.72 1959.79
1255.30 1682.99
0129.91 1215.59
0288.73 1265.51
1346.05 1342.65
0747.06 1088.53
0443.02 0739.12
1051.09 0584.83
0243.36 0221.80
0443.02 0262.64
0488.40 0249.03
1586.56 0326.17
1709.08 0180.96
1736.31 0158.27

Just wondering if my formatting is all correct, maybe I missed something. Thanks again

 
Profile Email
 Quote
fitz
 06/04/2014 05:22PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Quick guess: Try using "@imlist.rtf" to pass in the input image list, params like the coord file are simple file names. You might also double-check that the ".rtf" files don't contain any special chars.

 
Profile Email
 Quote
sinn1231
 06/04/2014 08:19PM  
+----
Newbie

Status: offline


Registered: 06/04/2014
Posts: 4
thanks for the suggestions! the @imlist didn't work but I am going to look into .rtf and see if that was causing the problem

 
Profile Email
 Quote
fitz
 06/04/2014 08:29PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The "only one value per on line" message is coming from the IMCENTROID task when trying to read either the coords or shifts file. Assuming there are blank lines at the end of the file or special chars, I'd have a look at the '-.51' value and perhaps change it to -0.51 in case it didn't read properly.

 
Profile Email
 Quote
sinn1231
 06/04/2014 08:53PM  
+----
Newbie

Status: offline


Registered: 06/04/2014
Posts: 4
I see. I made the changes and also tried using simple .txt files instead of .rtf, still no luck. Neutral

 
Profile Email
 Quote
fitz
 06/04/2014 09:11PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Does the last line in each file contain a newline? Some editors (e.g. emacs, BBEdit) get into a mode where this is left off that's been known to cause problems.

 
Profile Email
 Quote
sinn1231
 06/05/2014 12:01PM  
+----
Newbie

Status: offline


Registered: 06/04/2014
Posts: 4
Yes it does!

 
Profile Email
 Quote
rita
 10/19/2014 07:15PM  
+----
Newbie

Status: offline


Registered: 11/10/2010
Posts: 2
Please, can anyone help wih this? Images are normal, but i get this warning: what could be a problem?

im\$this->_split2($m[0]) imalign
Input images (@images.list):
Reference image (fdbcomet_R_6-Roi-1.fits):
Reference coordinates file (images.coord):
Output images (r//@images.list):
#Coords Image X-center Err Y-center Err Num
Warning: Image is not 2 dimensional
fdbcomet_R_6-Roi-1.fits: ERROR: No shifts were calculated.


Margarita.

 
Profile Email
 Quote
fitz
 10/20/2014 09:52PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040

For the record .... I see this has been resolved on Facebook.

 
Profile Email
 Quote
   
Content generated in: 0.28 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