Difference between revisions of "Using autoreduction"
Line 1: | Line 1: | ||
== Autoreduction server and automatic data reduction == | == Autoreduction server and automatic data reduction == | ||
− | '''Autoreduction is currently disabled on inelastic instruments''', so this information is provided for references only | + | == '''Autoreduction is currently disabled on inelastic instruments''', so this information is provided for references only == |
Autoreduction process listens to the events, produced by a machine, running the experiment and automatically reduces data, obtained from this experiment when the run is finished. | Autoreduction process listens to the events, produced by a machine, running the experiment and automatically reduces data, obtained from this experiment when the run is finished. |
Revision as of 16:24, 9 January 2023
Autoreduction server and automatic data reduction
Autoreduction is currently disabled on inelastic instruments, so this information is provided for references only
Autoreduction process listens to the events, produced by a machine, running the experiment and automatically reduces data, obtained from this experiment when the run is finished.
Autoreduction Server provides web-interface for changing and running reduction scripts.
The reduction scripts themselves can be found in ISIS network mounted on ISIS Unix machines in:
/archive/NDX[INSTRUMENT_NAME]/user/scripts/autoreduction/
or on Windows machines in:
\\isis\inst$\NDX[INSTRUMENT_NAME]\user\scripts\autoreduction
folders. Three files can be found(placed) there, namely reduce.py, reduce_vars.py and [INSTRUMENT_NAME]Reduction.py. Autoreduction automatically runs reduce.py script and processes reduce_vars.py as input variables. For ISIS inelastic instruments reduce.py script currently deploys [INSTRUMENT_NAME]Reduction.py script, which is the same script as the one, described in the Sample Scripts section of this WIKI, but renamed accordingly.
reduce_vars.py can be automatically generated from [INSTRUMENT_NAME]Reduction.py if [INSTRUMENT_NAME]Reduction.py is run from Mantid, but autoreduction (or rather reduce.py) runs [INSTRUMENT_NAME]Reduction.py overriding all variables from [INSTRUMENT_NAME]Reduction.py by variables from reduce_vars.py.
Autoreduction server builds web interface on the basis of the variables found in reduce_vars.py file, and user can use Web-interface to change the values of these variables to run script with new values from autoreduction.