Пример #1
0
 def test_1D_analysis_single_file(self):
     # giving only a single file
     a = ma.Basic1DAnalysis(t_start='20170726_164845',
                            options_dict={'scan_label': 'flipping'})
     self.assertEqual(a.timestamps, ['20170726_164845'])
Пример #2
0
 def test_1D_analysis_multi_file(self):
     a = ma.Basic1DAnalysis(t_start='20170726_164507',
                            t_stop='20170726_164845',
                            options_dict={'scan_label': 'flipping'})
     self.assertTrue(len(a.timestamps) > 5)