Function called by reduce_REFL.py, which lives in /SNS/REF_L/shared/autoreduce
and is called by the automated reduction workflow.
If average_overlap is used, overlapping points will be averaged, otherwise they
will be left in the final data file.
Parameters: |
-
average_overlap
(bool , default:
False
)
–
If True, the overlapping points will be averaged
-
q_summing
(bool , default:
False
)
–
If True, constant-Q binning will be used
-
bck_in_q
(bool , default:
False
)
–
If True, and constant-Q binning is used, the background will be estimated
along constant-Q lines rather than along TOF/pixel boundaries.
-
theta_offset
(float , default:
0
)
–
Theta offset to apply. If None, the template value will be used.
-
is_live
(bool , default:
False
)
–
If True, the data is live and will be saved in a separate file to avoid conflict with auto-reduction
-
output_dir
(str )
–
Directory where the output files will be saved
-
template_file
(str )
–
Path to the template file containing the reduction parameters
|
Returns: |
-
int
–
The sequence identifier for the run sequence
|