@@ -36,7 +36,8 @@ def setUp(self):
3636 self .profile = self .ppd .GetProfile ()
3737
3838 def test_concrete_pseudo_voigt_profiles (self ):
39- """Concrete isotropic and anisotropic profiles are constructible."""
39+ """Concrete isotropic and anisotropic profiles are
40+ constructible."""
4041 isotropic = ReflectionProfilePseudoVoigt ()
4142 anisotropic = ReflectionProfilePseudoVoigtAnisotropic ()
4243
@@ -73,7 +74,8 @@ def test_concrete_pseudo_voigt_profiles(self):
7374 )
7475
7576 def test_anisotropic_set_profile_par (self ):
76- """SetProfilePar assigns P and retains symmetric default asymmetry."""
77+ """SetProfilePar assigns P and retains symmetric default
78+ asymmetry."""
7779 profile = ReflectionProfilePseudoVoigtAnisotropic ()
7880 profile .SetProfilePar (1e-6 , fwhmGaussP = 2e-6 )
7981
@@ -82,7 +84,8 @@ def test_anisotropic_set_profile_par(self):
8284 self .assertAlmostEqual (profile .GetPar ("Asym0" ).GetValue (), 1.0 )
8385
8486 def test_anisotropic_profile_depends_on_hkl (self ):
85- """Anisotropic Lorentz coefficients produce direction dependence."""
87+ """Anisotropic Lorentz coefficients produce direction
88+ dependence."""
8689 profile = ReflectionProfilePseudoVoigtAnisotropic ()
8790 profile .SetProfilePar (
8891 1e-6 ,
@@ -99,7 +102,8 @@ def test_anisotropic_profile_depends_on_hkl(self):
99102 self .assertFalse (np .allclose (h00 , zero_k0 ))
100103
101104 def test_set_profile_copies_reusable_template (self ):
102- """One profile template can safely initialize multiple phases."""
105+ """One profile template can safely initialize multiple
106+ phases."""
103107 second = self .pp .AddPowderPatternDiffraction (self .crystal )
104108 template = ReflectionProfilePseudoVoigtAnisotropic ()
105109 template .GetPar ("W" ).SetValue (1e-6 )
@@ -124,7 +128,8 @@ def test_set_profile_copies_reusable_template(self):
124128 self .assertAlmostEqual (second_profile .GetPar ("W" ).GetValue (), 1e-6 )
125129
126130 def test_set_profile_accepts_temporary (self ):
127- """A temporary concrete profile is safely copied into the phase."""
131+ """A temporary concrete profile is safely copied into the
132+ phase."""
128133 self .ppd .SetProfile (ReflectionProfilePseudoVoigt ())
129134 profile = self .ppd .GetProfile ()
130135
0 commit comments