コード例 #1
0
 def init_models(self):
     CreateTaskBase.init_models(self)
     self.xrf_spectrum_model = queue_model_objects.XRFSpectrum()
     self._path_template.start_num = 1
     self._path_template.num_files = 1
     self._path_template.suffix = "raw"
     self._path_template.compression = False
コード例 #2
0
 def init_models(self):
     CreateTaskBase.init_models(self)
     self.xrf_spectrum_model = queue_model_objects.XRFSpectrum()
     self._path_template.start_num = 1
     self._path_template.num_files = 1
     self._path_template.suffix = "raw"
     self._path_template.compression = False
コード例 #3
0
    def init_models(self):
        CreateTaskBase.init_models(self)

        self._xray_imaging_parameters = queue_model_objects.XrayImagingParameters()
        self._acquisition_parameters = api.beamline_setup.get_default_acquisition_parameters(
            "default_imaging_values"
        )
        self._path_template.suffix = "tiff"
コード例 #4
0
    def init_models(self):
        CreateTaskBase.init_models(self)

        self._xray_imaging_parameters = queue_model_objects.XrayImagingParameters(
        )
        self._acquisition_parameters = (
            HWR.beamline.get_default_acquisition_parameters("imaging"))
        self._path_template.suffix = "tiff"
コード例 #5
0
    def init_models(self):

        CreateTaskBase.init_models(self)
        self.enery_scan = queue_model_objects.EnergyScan()
        self._path_template.start_num = 1
        self._path_template.num_files = 1
        self._path_template.suffix = "raw"
        self._path_template.compression = False
コード例 #6
0
    def init_models(self):

        CreateTaskBase.init_models(self)
        self.enery_scan = queue_model_objects.EnergyScan()
        self._path_template.start_num = 1
        self._path_template.num_files = 1
        self._path_template.suffix = "raw"
        self._path_template.compression = False
コード例 #7
0
    def init_models(self):
        CreateTaskBase.init_models(self)
        self._processing_parameters = queue_model_objects.ProcessingParameters()

        has_shutter_less = HWR.beamline.detector.has_shutterless()
        self._acquisition_parameters.shutterless = has_shutter_less

        self._acquisition_parameters = \
            HWR.beamline.get_default_acquisition_parameters()
コード例 #8
0
    def init_models(self):
        CreateTaskBase.init_models(self)
        # self._energy_scan_result = queue_model_objects.EnergyScanResult()
        self._processing_parameters = queue_model_objects.ProcessingParameters()

        has_shutter_less = api.beamline_setup.detector_has_shutterless()
        self._acquisition_parameters.shutterless = has_shutter_less

        self._acquisition_parameters = api.beamline_setup.get_default_acquisition_parameters(
            "default_acquisition_values"
        )
コード例 #9
0
    def init_models(self):
        CreateTaskBase.init_models(self)
        self._energy_scan_result = queue_model_objects.EnergyScanResult()
        self._processing_parameters = queue_model_objects.ProcessingParameters(
        )

        has_shutter_less = HWR.beamline.detector.has_shutterless()
        self._acquisition_parameters.shutterless = has_shutter_less

        self._acquisition_parameters = (
            HWR.beamline.get_default_acquisition_parameters("helical"))
コード例 #10
0
    def init_models(self):
        CreateTaskBase.init_models(self)
        self._processing_parameters = queue_model_objects.ProcessingParameters()

        has_shutter_less = api.beamline_setup.detector_has_shutterless()
        self._acquisition_parameters.shutterless = has_shutter_less

        self._acquisition_parameters = api.beamline_setup.get_default_acquisition_parameters(
            "default_acquisition_values"
        )
        self._acquisition_parameters.num_triggers = 1
        self._acquisition_parameters.num_images_per_trigger = 1
コード例 #11
0
    def _init_models(self):
        """
        Descript. :
        """
        CreateTaskBase.init_models(self)
        self._processing_parameters = queue_model_objects.ProcessingParameters()

        has_shutter_less = api.beamline_setup.detector_has_shutterless()
        self._acquisition_parameters.shutterless = has_shutter_less

        self._acquisition_parameters = api.beamline_setup.get_default_acquisition_parameters(
            "default_advanced_values"
        )
コード例 #12
0
    def init_models(self):
        """
        Inits data model
        :return: None
        """
        CreateTaskBase.init_models(self)
        self._processing_parameters = queue_model_objects.ProcessingParameters(
        )

        has_shutter_less = HWR.beamline.detector.has_shutterless()
        self._acquisition_parameters.shutterless = has_shutter_less

        self._acquisition_parameters = (
            HWR.beamline.get_default_acquisition_parameters())
        self._acquisition_parameters.num_triggers = 1
        self._acquisition_parameters.num_images_per_trigger = 1
コード例 #13
0
ファイル: create_char_widget.py プロジェクト: mxcube/mxcube
 def init_models(self):
     CreateTaskBase.init_models(self)
     self._init_models()
コード例 #14
0
 def init_models(self):
     """
     Descript. :
     """
     CreateTaskBase.init_models(self)
     self._init_models()
コード例 #15
0
 def init_models(self):
     CreateTaskBase.init_models(self)
     self._init_models()