def init_models(self): """ Descript. : """ CreateTaskBase.init_models(self) self._energy_scan_result = queue_model_objects.EnergyScanResult() self._processing_parameters = queue_model_objects.ProcessingParameters()
def init_models(self): CreateTaskBase.init_models(self) self._energy_scan_result = queue_model_objects.EnergyScanResult() self._processing_parameters = queue_model_objects.ProcessingParameters() if self._beamline_setup_hwobj is not None: has_shutter_less = self._beamline_setup_hwobj.\ detector_has_shutterless() self._acquisition_parameters.shutterless = has_shutter_less self._acquisition_parameters = self._beamline_setup_hwobj.\ get_default_acquisition_parameters("default_helical_values")
def init_models(self): CreateTaskBase.init_models(self) self._energy_scan_result = qmo.EnergyScanResult() self._processing_parameters = qmo.ProcessingParameters() if self._beamline_setup_hwobj is not None: has_shutter_less = self._beamline_setup_hwobj.\ detector_has_shutterless() self._acquisition_parameters.shutterless = has_shutter_less self._acquisition_parameters = self._beamline_setup_hwobj.\ get_default_acquisition_parameters() else: self._acquisition_parameters = qmo.AcquisitionParameters() self._path_template = qmo.PathTemplate()
def init_models(self): CreateTaskBase.init_models(self) self._energy_scan_result = qmo.EnergyScanResult() self._processing_parameters = qmo.ProcessingParameters()