Welcome to iraf.net Tuesday, May 14 2024 @ 09:09 PM GMT
rjvo |
12/07/2009 02:37PM (Read 1446 times)
|
|
|
Status: offline
Registered: 04/21/2007
Posts: 134
|
I have a catalog (vzcat):
[code:1:b6c1ad8c95]1 1[/code:1:b6c1ad8c95]
and observation data (vzdat):[code:1:b6c1ad8c95]1 1.1
[/code:1:b6c1ad8c95]and both the config files (vzcfge, vzcfgi):[code:1:b6c1ad8c95]# for EVAL
catalog
V 2
observation
v 2
transformation
fit c=0.
FIT: V = v + c
[/code:1:b6c1ad8c95][code:1:b6c1ad8c95]# for INVERT
catalog
V 2
observation
v 2
transformation
fit c=0.
FIT: v = V + c
[/code:1:b6c1ad8c95].
The results of the FITPAR [code:1:b6c1ad8c95]del vzpare,vzoute
fitpar vzdat vzcat vzcfge vzpare
eval vzdat vzcfge vzpare vzoute catal=vzcat
del vzpari,vzouti
fitpar vzdat vzcat vzcfgi vzpari
invert vzdat vzcfgi vzpari vzouti catal=vzcat
[/code:1:b6c1ad8c95]
in two cases gives the correct results, for EVAL as well:[code:1:b6c1ad8c95]1 1.000 INDEF 0.000
[/code:1:b6c1ad8c95]but NOT for INVERT:[code:1:b6c1ad8c95]1 INDEF INDEF INDEF[/code:1:b6c1ad8c95].When I change the vzcat:[code:1:b6c1ad8c95]1 1
2 2[/code:1:b6c1ad8c95]
the result for EVAL is [code:1:b6c1ad8c95]1 1.000 INDEF 0.000
[/code:1:b6c1ad8c95]and for INVERT is [code:1:b6c1ad8c95]1 1.000 INDEF 0.000
[/code:1:b6c1ad8c95], as it should be but the catalog data "2" does not play any role here.When I cange the catalog and data for:[code:1:b6c1ad8c95]1 1
2 2[/code:1:b6c1ad8c95]and[code:1:b6c1ad8c95]1 1.1
2 2[/code:1:b6c1ad8c95]the results for EVALFIT and INVERT are [code:1:b6c1ad8c95]1 1.050 INDEF -0.050
2 1.950 INDEF 0.050
[/code:1:b6c1ad8c95]and[code:1:b6c1ad8c95]1 1.050 INDEF -0.050
2 1.950 INDEF 0.050
[/code:1:b6c1ad8c95].But for the catalog and data[code:1:b6c1ad8c95]1 1
2 2
3 3[/code:1:b6c1ad8c95][code:1:b6c1ad8c95]1 1
2 2
3 3[/code:1:b6c1ad8c95]the results are: for EVAL:[code:1:b6c1ad8c95]1 1.000 INDEF 0.000
2 2.000 INDEF 0.000
3 3.000 INDEF 0.000
[/code:1:b6c1ad8c95]for INVERT[code:1:b6c1ad8c95]1 1.000 INDEF 0.000
2 INDEF INDEF INDEF
3 3.000 INDEF 0.000
[/code:1:b6c1ad8c95].
Why are there these "INDEF" in the INVERT outputs?
rj
PS
When I change the catalog and run again, [code:1:b6c1ad8c95]1 1
2 2
3 3
4 4[/code:1:b6c1ad8c95]
the result for INVERT is correct:[code:1:b6c1ad8c95]1 1.000 INDEF 0.000
2 2.000 INDEF 0.000
3 3.000 INDEF 0.000
[/code:1:b6c1ad8c95]
|
|
|
|
| |
|
Content generated in: 0.03 seconds |
|