Пример #1
0
 def _end_measurement(self):
     '''
     the data file is closed and filepath is printed
     '''
     print self._data_file.get_filepath()
     qviewkit.save_plots(self._data_file.get_filepath(),comment=self._plot_comment)
     self._data_file.close_file()
     waf.close_log_file(self._log)
     self.dirname = None
Пример #2
0
 def _end_measurement(self):
     '''
     the data files are closed and their filepaths are printed
     '''
     if self.save_dat:
         print self._data_dat.get_filepath()
         self._data_dat.close_file()
     if self.save_hdf:
         print self._data_hdf.get_filepath()
         qviewkit.save_plots(self._data_hdf.get_filepath())
         self._data_hdf.close_file()