Welcome to iraf.net Wednesday, May 08 2024 @ 08:34 PM GMT
dbrenner |
01/07/2009 08:33PM (Read 5473 times)
|
|
|
Status: offline
Registered: 05/05/2006
Posts: 115
|
This works:
imalign input=@fits.txt reference = 61cyg001.fits coords= ctr.txt output = 61cyg*[0,overwrite] boxsize = 25 bigbox = 50This doesn't
imalign input=@fits.txt reference = 61cyg001.fits coords= ctr.txt output = 61cyg*[0,overwrite] boxsize = 25 bigbox = 50 niterate = 5ERROR: Number of input and output images not the same!!!!
|
|
|
|
fitz |
01/07/2009 08:33PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Try turning on the 'verbose' parameter.This will print out the result of an initial IMCENTROID call that creates the file list for shifting the images. One problem is that 'bigbox' should be an odd-numbered value, but perhaps by turning on iterate there is some other failure in the task and so the shift file list is invalid. Either way, I expect you'll see some sort of error message.-Mike
|
|
|
|
dbrenner |
01/07/2009 08:33PM
|
|
|
Status: offline
Registered: 05/05/2006
Posts: 115
|
Same error, no outputanyway to send an attachment?
|
|
|
|
fitz |
01/07/2009 08:33PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Other than cut-n-paste, attachments are difficult here.If you turned on verbose and didn't see anything before the error message, then it means the IMCENTROID task didn't produce any output at all. You can try running this on your own, e.g. from the imalign script the command would ne something like[code:1:7a9ec3cdd8]
cl> imcentroid @fits.txt 61cyg001.fits ctr.txt shifts=""
boxsize=25 bigbox=50 niterate=5 verbose+
[/code:1:7a9ec3cdd8]Try this both with and without setting the niterate and report any differences in the output.Otherwise, you can type 'd_trace' before running IMALIGN to trace the script execution, give the command again at the end to toggle it off and post the last screenfull of output (my guess is IMSHIFT will be the task that fails).-Mike
|
|
|
|
dbrenner |
01/07/2009 08:33PM
|
|
|
Status: offline
Registered: 05/05/2006
Posts: 115
|
First this#Coords Image X-center Err Y-center Err Num
61cyg002.fits 146.549 (0.496) 118.908 (0.713) 1 61cyg003.fits 146.194 (0.395) 119.504 (0.564) 1 61cyg004.fits 145.802 (0.339) 119.762 (0.494) 1 61cyg005.fits 145.467 (0.314) 119.957 (0.454) 1Warning: failed to converge near (138,126)
Warning: no sources centered in 61cyg006.fits 61cyg007.fits 144.179 (0.332) 120.735 (0.450) 1
...
Then this
#Refcoords Reference X-center Err Y-center Err Num
61cyg001.fits 147.213 (0.682) 118.613 (0.945) 1#Shifts Image X-shift Err Y-shift Err N Internal
61cyg002.fits 0.664 (0.843) -0.295 (1.184) 1 (INDEF,INDEF)
61cyg003.fits 1.019 (0.788) -0.891 (1.101) 1 (INDEF,INDEF)
61cyg004.fits 1.411 (0.761) -1.149 (1.066) 1 (INDEF,INDEF)
61cyg005.fits 1.746 (0.750) -1.345 (1.048) 1 (INDEF,INDEF)
...Then this#Trim_Section = [16:250,1:240]# Shifting images:Then thisERROR: Number of input and output images not the same.
"constant= constant)"
line 64: immatch$imalign.cl
|
|
|
|
valdes |
01/07/2009 08:33PM
|
|
|
Status: offline
Registered: 11/11/2005
Posts: 728
|
Hi,Did you ever get this resolved? The script is not very complicated. I would suggest you copy the script, add some debugging statements at appropriate places and run it. To make your own version of the task:1. copy immatch$imalign.cl immatch$imalign.par home$
2. load the immatch task
3. redefine imalign=home$imalign.clThis shows putting the copy in you IRAF home. You could put it anywhere you like as long as the redefine has the appropriate path.If you'd rather send me the two list files you can to valdes@noao.edu. Note in the script that one of the first things to happen is to turn your "output" specification into a file with the SECTIONS command. You might try that manually to make sure it expands to what you expect:[code:1:fc27e3ce11]sections 61cyg*[0,overwrite] > list[/code:1:fc27e3ce11]Yours,
Frank Valdes
|
|
|
|
| |
|
Content generated in: 0.22 seconds |
|