File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,13 +167,13 @@ def test_peaklist_index(self):
167
167
c = loadcifdata ("paracetamol.cif" )
168
168
p = PowderPattern ()
169
169
p .SetWavelength (0.7 )
170
- x = np .linspace (0 , 40 , 8001 )
170
+ x = np .linspace (0 , 40 , 16001 )
171
171
p .SetPowderPatternX (np .deg2rad (x ))
172
172
pd = p .AddPowderPatternDiffraction (c )
173
- pd .SetReflectionProfilePar (ReflectionProfileType .PROFILE_PSEUDO_VOIGT , 1e-6 )
173
+ pd .SetReflectionProfilePar (ReflectionProfileType .PROFILE_PSEUDO_VOIGT , 1e-7 )
174
174
# p.plot(hkl=True)
175
175
calc = p .GetPowderPatternCalc ()
176
- obs = np .random .poisson (calc * 1e5 / calc .max () + 50 ).astype (np .float64 )
176
+ obs = np .random .poisson (calc * 1e6 / calc .max () + 50 ).astype (np .float64 )
177
177
p .SetPowderPatternObs (obs )
178
178
p .SetMaxSinThetaOvLambda (0.2 )
179
179
p .FitScaleFactorForIntegratedRw ()
You can’t perform that action at this time.
0 commit comments