Difference between revisions of "ISIS direct reduction script description."
Line 36: | Line 36: | ||
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 parameter's default values from the appropriate ''xml'' file and runs the reduction algorithms 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 parameter's default values from the appropriate ''xml'' file and runs the reduction algorithms 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 | + | User may work directly with full reduction script as this one has two sections, which contain simple and advanced parameters, so to set up small number of simple parameters in a separate script or to set up all parameters together in one big script 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 | Within the advanced reduction script user can find the '''iliad''' function, which is actually used by the simple reduction script |
Revision as of 12:56, 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 parameter's default values from the appropriate xml file and runs the reduction algorithms 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 small number of simple parameters in a separate script or to set up all parameters together in one big script 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