コード例 #1
0
 def init_models(self):
     """
     Descript. :
     """
     CreateTaskBase.init_models(self)
     self._energy_scan_result = queue_model_objects.EnergyScanResult()
     self._processing_parameters = queue_model_objects.ProcessingParameters()
コード例 #2
0
    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")
コード例 #3
0
    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()
コード例 #4
0
 def init_models(self):
     CreateTaskBase.init_models(self)
     self._energy_scan_result = qmo.EnergyScanResult()
     self._processing_parameters = qmo.ProcessingParameters()