POWGEN | BL-11A | SNS#
The autoreduction pipeline on POWGEN instrument is working robustly to automatically produce the Bragg diffraction data and the total scattering data once the raw measurement data is becoming available on the hard drive. To guarantee a successful running of the autoreduction pipeline, some necessary configurations need to be in place, including those calibration and characterization runs and a series of control parameters for the data reduction routines. Concerning the principles of the data reduction, one could refer to the page here in current book for more information. The calibration and characterization information is stored in the POWGEN shared location on the analysis cluster,
/SNS/PG3/shared/CALIBRATION
and each cycle has a series of calibration and characterization files corresponding to different sample environments or instrument setups. The configuration file for controlling the autoreduction routine is stored in json format and is stored in POWGEN shared location at,
/SNS/PG3/shared/autoreduce
The central configuration file auto_config.json
located there contains high level controls over the autoreduction routine and also it contains the pointer to sample environment or setup specific configuration files. Those specific configuration files are stored here,
/SNS/PG3/shared/autoreduce/auto_config_files
Based on the information provided in the central configuration file auto_config.json
, the autoreduction routine knows how to find those specific configuration files which contains the parameters to be used by the backend data reduction engine.
Usually, all the files mentioned above need to be populated or modified by first logging into the analysis cluster, followed by editing those relevant files one-by-one using plain text editor. First, this is a tedious process. Second, it is very easy to make mistakes, which could then kill the whole autoreduction pipeline without anyone having a quick idea about what is happening. To make the whole process more transparent, easy to configure and error-proofing, we implemented a web-based interface in the ADDIE web platform. The web interface intends to replace the tedious way of configuring the POWGEN autoreduction pipeline. Several key things to mention,
To get access to the web interface concerning the POWGEN autoreduction configuration, one needs to hold a valid UCAMS/XCAMS account. Further, for the specific interfaces that will write files to the central POWGEN shared locations, only POWGEN team members can have the access.
The configuration web interface is only for the configuration purpose but not is
NOT
intended to interfere with the running of the autoreduction routine. To do the interference with the autoreduction running, one needs to go to the monitor web service here.
The autoreduction configuration is implemented in such a way that a specific IPTS has its dedicated version of the configuration. In practice, if the IPTS specific version of the configuration cannot be found, the central configuration (those located in the POWGEN shared location as mentioned above) will be copied over to the IPTS specific location. Otherwise, the IPTS specific version will win over and general users are expected to make changes in IPTS specific locations for configuring the autoreduction for their experiments.
Currently, the web interface for general users for configuring the autoreduction is under development and will be online soon.
A demonstration video has been recorded to go through the how-tos of using the web interface for characterization and autoreduction configuration, as can be found below,
from IPython.display import YouTubeVideo
YouTubeVideo('yNTG0qD4HMs', width=720, height=500)