Esempio n. 1
0
 def setup_method(self):
     _BaseTest.setup_method(self)
     self._configure_constraints()
     self.wavelength = 0.6358
     B = CrystalUnderTest('xtal', 7.68, 53.48, 75.63, 90, 90, 90).B
     self.UB = U_DIFFCALC * B
     self._configure_limits()
Esempio n. 2
0
    def setup_method(self):

        _BaseTest.setup_method(self)
        self.constraints._constrained = {'a_eq_b': None, 'mu': -pi / 2,
                                         'eta': 0}
        self.wavelength = 1
        self.UB = I * 2 * pi
Esempio n. 3
0
 def setup_method(self):
     _BaseTest.setup_method(self)
     self._configure_constraints()
     self.wavelength = Pt531_WAVELENGTH
     CUT = CrystalUnderTest('Pt531', 6.204, 4.806, 23.215, 90, 90, 49.8)
     B = CUT.B
     self.UB = Pt531_U_DIFFCALC * B
     self._configure_limits()
Esempio n. 4
0
 def setup_method(self):
     _BaseTest.setup_method(self)
     self._configure_constraints()
     self.wavelength = Pt531_WAVELENGTH
     CUT = CrystalUnderTest('Pt531', 6.204, 4.806, 23.215, 90, 90, 49.8)
     B = CUT.B
     self.UB = Pt531_U_DIFFCALC * B
     self._configure_limits()
Esempio n. 5
0
 def setup_method(self):
     _BaseTest.setup_method(self)
     self._configure_constraints()
     self.wavelength = 0.6358
     B = CrystalUnderTest('xtal', 7.68, 53.48,
                          75.63, 90, 90, 90).B
     self.UB = U_DIFFCALC * B
     self._configure_limits()