|
The original question was:
I used both HFITHN and HFITGA routines to fit a Gaussian,
for instance:
CALL HFITGA(1017,C,AV,SD,CHI2,IC,SIG)
CALL HFITHN(1017,'G',' ',3,PAR,STEP,PMIN,PMAX,SIGPAR,CHI2)
I didn't obtain the same result. Why, I guess these two calls
are equivalent, aren't they ?
To avoid the problem encountered here, the initial values of the
parameters should not be equal to zero. For example, do something like:
dimension par(3),step(3),pmin(3),pmax(3)
par(1) = 1.
par(2) = 1.
par(3) = 1.
CALL HFITHN(10,'G',' ',3,PAR,STEP,PMIN,PMAX,SIGPAR,CHI2)
and HFITHN
will give the same result as
HFITGA.
![]() | Release Notes | Known bugs | FAQs | Contributions | Tutorial | Reference manual | Down load | Miscellaneous |