def _end_measurement(self): t = threading.Thread( target=qviewkit.save_plots, args=[self._hdf.get_filepath(), self._plot_comment]) t.start() self._hdf.close_file() waf.close_log_file(self._log)
def close_files(self): # save plots and close files # t = threading.Thread(target=qviewkit.save_plots, args=[self._data_file.get_filepath()]) # t.start() self._data_file.flush() self._data_file.close_file() waf.close_log_file(self._log_file)
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
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) #old version where we have to wait for the plots t = threading.Thread(target=qviewkit.save_plots,args=[self._data_file.get_filepath(),self._plot_comment]) t.start() self._data_file.close_file() waf.close_log_file(self._log) self.dirname = None
def _end_measurement(self): try: self.readout.cleanup() except AttributeError: pass t = threading.Thread( target=qviewkit.save_plots, args=[self._hdf.get_filepath(), self._plot_comment]) t.start() self._hdf.close_file() waf.close_log_file(self._log) qkit.flow.end()
def _end_measurement(self): t = threading.Thread(target=qviewkit.save_plots,args=[self._hdf.get_filepath(),self._plot_comment]) t.start() self._hdf.close_file() waf.close_log_file(self._log)