Example #1
0
    def test_diffraction_pattern(self):
        tags = ks.example(verbose=False)

        ks.kinematic_scattering(tags)
Example #2
0
    def test_plotCBED(self):
        tags = ks.example(verbose=False)

        ks.kinematic_scattering(tags)
Example #3
0
    def test_circles(self):
        tags = ks.example(verbose=False)

        ks.kinematic_scattering(tags)
Example #4
0
 def test_kinematic_scattering(self):
     tags = ks.example(verbose=False)
     ks.kinematic_scattering(tags)
     self.assertIsInstance(tags['HOLZ'], dict)
     self.assertAlmostEqual(tags['wave_length_nm'], 0.0036695, delta=1e-6)