Difference between revisions of "Using autoreduction"
(Created page with "== Autoreduction server and automatic data reduction == Autoreduction process listens to the events, produced by a machine, running the experiment and automatically reduces...") |
|||
(4 intermediate revisions by the same user not shown) | |||
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 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. | ||
Line 14: | Line 16: | ||
\\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. |
Line 20: | Line 22: | ||
− | 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 from autoreduction. | + | 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. |
+ | |||
+ | [http://shadow.nd.rl.ac.uk/wiki/idr/index.php/Setting_up_Mantid,_Matlab_and_auxiliary_programs_to_process_results_of_inelastic_experiments. Back to setting up Mantid] |
Latest 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.