Difference between revisions of "Using autoreduction"

From InelasticDataReduction
Jump to navigation Jump to search
(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...")
 
Line 20: Line 20:
  
  
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.

Revision as of 12:20, 11 December 2015

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 Sample Scripts section 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.