Difference between revisions of "ISIS direct reduction script description."

From InelasticDataReduction
Jump to navigation Jump to search
Line 32: Line 32:
 
|}
 
|}
  
Simple reduction script highlights only the parameters user needs to change during an experiment. These parameters are usually the ''run number'' or ''list of run numbers'' to process, run ''number for a vanadium run'', ''energies'' user is interested in and ''energy binning''. There are couple of other parameters, directly related to the experiment in progress and better described in the script itself.  
+
Simple reduction script highlights only the parameters user needs to change during an experiment. These parameters are usually the ''run number'' or ''list of run numbers'' to process, run ''number for a white beam vanadium run'', ''energies'' user is interested in and ''energy binning''. There are couple of other parameters, directly related to the experiment in progress and better described in the script itself.  
  
 
Simple reduction script is then imports full reduction script, which sets up the parameters specific to a cycle and may be to an experiment. After that the advanced script picks up all other reduction parameter's default values from the appropriate ''xml'' file and runs reduction itself.  
 
Simple reduction script is then imports full reduction script, which sets up the parameters specific to a cycle and may be to an experiment. After that the advanced script picks up all other reduction parameter's default values from the appropriate ''xml'' file and runs reduction itself.  

Revision as of 12:52, 11 December 2015

Overview

All ISIS direct inelastic reduction scripts have similar interface and layout, with only parameters different for different instruments. Some parameters change from one cycle and sometimes one experiment to another but most of them are instrument specific and changes only when instrument is modified. Instrument scientists prepare sample Mantid python reduction scripts, which are then automatically distributed to Isiscompute users according to the rules described elsewhere.

From the links below one can retrieve resent versions of these scripts and their default reduction parameters stored in XML files, namely:

Instrument Simple reduction script Full reduction script Default reduction parameters
MARI: [1] [2] [3]
MAPS: [] [4] [5]
MERLIN: [] [6] [7]
LET: [] [8] [9]

Simple reduction script highlights only the parameters user needs to change during an experiment. These parameters are usually the run number or list of run numbers to process, run number for a white beam vanadium run, energies user is interested in and energy binning. There are couple of other parameters, directly related to the experiment in progress and better described in the script itself.

Simple reduction script is then imports full reduction script, which sets up the parameters specific to a cycle and may be to an experiment. After that the advanced script picks up all other reduction parameter's default values from the appropriate xml file and runs reduction itself.

User may work directly with full reduction script as this one has two sections, which contain simple and advanced parameters, so to set up only simple parameters in a separate file or to set up all parameters together is the matter of personal choice.

Within the advanced reduction script user can find the iliad function, which is actually used by the simple reduction script