For information about how to create a json config file to use with the autoProcessing wrapper, please visit this site:
Introduction
The autoProcessing wrapperis a python class included in the I13analysis module. It aims to create an easy to use interface between the users and SAVU. Changing of parameters in SAVU config files is automated by the interface and several methods allow tailoring individual reconstructions as required.
autoProcessing uses a combination of SAVU calls (for most data processes) and local reconstruction for the centering and entropy metrics calculation (used in automatic COR determination). Please make sure not to start any processes on the data acquisition machine. In addition, autoProcessing also searches for intermediate SAVU data to be reused to minimize the processing time. All intermediate data is written to the <visitID>/tmp folder and only center-finding and final reconstructions are written to the <visitID>/processing folder.
Calling parameters
The following calling parameters are used to configure the autoProcessing
parameter | alias | datatype | description |
---|---|---|---|
help | -h, --help | Use this to display all available options and help text on the command line | |
json file name | -jsonfile, -j | string (file path) | Path for the json config file which includes all the beamtime meta data. This is a mandatory argument. However, if omitted the script will look in the current working directory and if there is exactly one file with a .json suffix, this will be loaded. |
objecive number | -objective, -o | integer | The objective number to be used for the distortion correction.The default is <8> which corresponds to no distortion correction. |
centre of reconstruction | -cor, -c | float | The centre of reconstruction, if a manual input is required. This value will be replaced by the automatic centering if the latter is called. |
slice number | -slice, -s | integer | The slice number to be used for testing. If not specified, the value from the original SAVU configuration file will be used. |
stepping width | -dx | float | Step width for the automatic centering. Defaults to 0.1 |
range of center finding | -range | float | The range argument specifies which range is to be scanned for the final COR determination. The search range isĀ [x0 - range, x0 + range]. The default range is 2.0 |
SAVU big | --big | Use this optional argument to call SAVU with the "BIG" keyword (running on com14 instead of com10). This allows you to start more than two parallel processes. | |
redo all calculations | -redo, -r | Use this flag to force re-running all preliminary SAVU steps. Required for example after changing the slice number. | |
scan numbers | integers | the number of the scans to be processed. Add as many scans as required, the will be worked on in a queue. Please note that an exception during runtime will stop the whole queue. |