Fit test of DiffSphereTest fails when tried on MantidPlot #6443
Labels
Indirect/Inelastic
Issues and pull requests related to indirect or inelastic
Low Priority
Things that you don't ever want to be done.
Milestone
Resolution of this ticket is dependent on resolution of ticket http://trac.mantidproject.org/mantid/ticket/4394
Resolution of this ticket is dependent on resolution of ticket http://trac.mantidproject.org/mantid/ticket/5603
The fit test in DiffSphereTest test the convolution of a Gaussian resolution function with a DiffSphere function. The target parameters are:[[BR]]
''Gaussian c=0 h=3.0 sigma=0.62[[BR]]
DiffSphere I=2.9 Q=0.70 R=2.3 D=0.45''[[BR]]
The initial parameters are:[[BR]]
''Gaussian c=0 h=3.0 sigma=0.62[[BR]]
DiffSphere I=1.3 Q=0.70 R=1.4 D=1.5''[[BR]]
Fitting in MantidPlot produces the following error:[[BR]]
'''Error in execution of algorithm Fit:[[BR]]
GSLVector index is out of range'''[[BR]]
Starting with different initial parameters, very close to the target ones:[[BR]]
''Gaussian c=0 h=3.0 sigma=0.62[[BR]]
DiffSphere I=2.7 Q=0.70 R=2.5 D=0.46''[[BR]]
results in another error:[[BR]]
'''Error in execution of algorithm Fit:[[BR]]
Error in function boost::math::sph_bessel_j
<e>
(e,e): Got x = -29910.0084641663015645, but function requires x > 0.'''[[BR]]The text was updated successfully, but these errors were encountered: