File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -167,13 +167,13 @@ def test_peaklist_index(self):
167167 c = loadcifdata ("paracetamol.cif" )
168168 p = PowderPattern ()
169169 p .SetWavelength (0.7 )
170- x = np .linspace (0 , 40 , 8001 )
170+ x = np .linspace (0 , 40 , 16001 )
171171 p .SetPowderPatternX (np .deg2rad (x ))
172172 pd = p .AddPowderPatternDiffraction (c )
173- pd .SetReflectionProfilePar (ReflectionProfileType .PROFILE_PSEUDO_VOIGT , 1e-6 )
173+ pd .SetReflectionProfilePar (ReflectionProfileType .PROFILE_PSEUDO_VOIGT , 1e-7 )
174174 # p.plot(hkl=True)
175175 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 )
177177 p .SetPowderPatternObs (obs )
178178 p .SetMaxSinThetaOvLambda (0.2 )
179179 p .FitScaleFactorForIntegratedRw ()
You can’t perform that action at this time.
0 commit comments