Ejemplo n.º 1
0
 def _focus(self, run_number_string, do_van_normalisation, do_absorb_corrections):
     """
     Focuses the user specified run - should be called by the concrete instrument
     :param run_number_string: The run number(s) to be processed
     :param do_van_normalisation: True to divide by the vanadium run, false to not.
     :return:
     """
     self._is_vanadium = False
     return focus.focus(run_number_string=run_number_string, perform_vanadium_norm=do_van_normalisation,
                        instrument=self, absorb=do_absorb_corrections)
Ejemplo n.º 2
0
 def _focus(self, run_number_string, do_van_normalisation, do_absorb_corrections, sample_details=None):
     """
     Focuses the user specified run - should be called by the concrete instrument
     :param run_number_string: The run number(s) to be processed
     :param do_van_normalisation: True to divide by the vanadium run, false to not.
     :return:
     """
     self._is_vanadium = False
     return focus.focus(run_number_string=run_number_string, perform_vanadium_norm=do_van_normalisation,
                        instrument=self, absorb=do_absorb_corrections, sample_details=sample_details)
Ejemplo n.º 3
0
 def _focus(self,
            run_number_string,
            do_van_normalisation,
            do_absorb_corrections,
            sample_details=None,
            empty_can_subtraction_method=None,
            paalman_pings_events_per_point=None):
     """
     Focuses the user specified run - should be called by the concrete instrument
     :param run_number_string: The run number(s) to be processed
     :param do_van_normalisation: True to divide by the vanadium run, false to not.
     :return:
     """
     self._is_vanadium = False
     return focus.focus(run_number_string=run_number_string,
                        perform_vanadium_norm=do_van_normalisation,
                        instrument=self,
                        absorb=do_absorb_corrections,
                        sample_details=sample_details,
                        empty_can_subtraction_method=empty_can_subtraction_method,
                        paalman_pings_events_per_point=paalman_pings_events_per_point)
Ejemplo n.º 4
0
 def _focus(self, run_number, do_attenuation, do_van_normalisation):
     return focus.focus(instrument=self, number=run_number,
                        attenuate=do_attenuation, van_norm=do_van_normalisation)