Difference between revisions of "Using autoreduction"
Line 14: | Line 14: | ||
\\isis\inst$\NDX[INSTRUMENT_NAME]\user\scripts\autoreduction | \\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 [http://shadow.nd.rl.ac.uk/wiki/idr/index.php/Location_and_details_of_access_to_sample_scripts_used_in_data_processing Sample Scripts] section but renamed accordingly. | + | 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 [http://shadow.nd.rl.ac.uk/wiki/idr/index.php/Location_and_details_of_access_to_sample_scripts_used_in_data_processing Sample Scripts] section of this WIKI, but renamed accordingly. |
Revision as of 12:10, 22 June 2016
Autoreduction server and automatic data reduction
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.