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()
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
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()