{ "cells": [ { "cell_type": "markdown", "id": "a68f0307-7042-46b0-94ec-d6b87cbc88c1", "metadata": {}, "source": [ "POWGEN | BL-11A | SNS\n", "===" ] }, { "cell_type": "markdown", "id": "48bbbd04-5097-4181-9ceb-be94f435e0ca", "metadata": {}, "source": [ "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,\n", "\n", "```\n", "/SNS/PG3/shared/CALIBRATION\n", "```\n", "\n", "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,\n", "\n", "```\n", "/SNS/PG3/shared/autoreduce\n", "```\n", "\n", "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,\n", "\n", "```\n", "/SNS/PG3/shared/autoreduce/auto_config_files\n", "```\n", "\n", "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.\n", "\n", "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 interface. The web interface intends to replace the tedious way of configuring the POWGEN autoreduction pipeline. Several key things to mention,\n", "\n", "1. 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.\n", "\n", "2. The configuration web interface is only for the configuration purpose but 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.\n", "\n", "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, depending on the configuration in the central config file, either the central version or the IPTS specific version will win over. See the section below for more details.\n", "\n", "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," ] }, { "cell_type": "code", "execution_count": 1, "id": "5f465f64-ed81-41a9-af7f-668d578cd731", "metadata": { "execution": { "iopub.execute_input": "2024-02-02T20:28:56.762088Z", "iopub.status.busy": "2024-02-02T20:28:56.761751Z", "iopub.status.idle": "2024-02-02T20:28:56.937653Z", "shell.execute_reply": "2024-02-02T20:28:56.936917Z", "shell.execute_reply.started": "2024-02-02T20:28:56.762066Z" } }, "outputs": [ { "data": { "image/jpeg": "/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEABALDBoYFhsaGBoeHRofICUfIB8iISYlJSUlLigxMC0nLS81PVBCNThLOSstRWFFS1NWW1xbNUFlbWRYbFBZW1cBERISGRYZMBsbL1c9Nz9XV1dXV1dXYFdXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV1dXV//AABEIAWgB4AMBIgACEQEDEQH/xAAbAAEAAgMBAQAAAAAAAAAAAAAAAQMCBAUGB//EAEsQAAIBAgIGBAoGBgkEAwEAAAABAgMRBCEFEjFBUWETcZLRBhQVIjJSgZGhsUJTcrLB8DNUYoLS4SM0Y3OTosLi8Qc1Q4MWJbMk/8QAGgEBAAMBAQEAAAAAAAAAAAAAAAECAwQFBv/EAC0RAQACAQMEAQIFBAMAAAAAAAABAhEDEiEEEzFRQSIyBRRhcZFCgaGxIzNS/9oADAMBAAIRAxEAPwD5+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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pXyBhcCjpXyJ6Z8gLi/BV4UqmvUpqpGzWq9mzJ7DS6Z8h0z4ImJF1WacpNJRTbaS2K72IxuYdO+CEa7TvZE7hZqslLM2pabk6ep0FDr1Z3+8ay0hL1Ie595OWcTb5haq1vop7NqI6XktlimpjJS3R9iK412neyfXcqvy3405yWUMr3uitRb3Mshp6pGOqoUrWtsl3mq8fNu9l8e8cKxv+YXypyW2LM/Fqnqv4FM9K1JWuo5cn3l0dO1UrasPc+8nhWZ1fiIPFqnqMwcGtqLPL9b1afufeas9ITk7tR9z7xwis6vzELdV2vbIsp0Jz9GN/ainyrOzWpTz5PvIp6TnF3UYe5944WnfjiF0KMpS1VG8uBNShODtKLTKcNpWpSqKpGMG1uadvmbGM8IKtZpyhST/AGVJfiOFZnV3cRGFNROLtJWZhrotq6ZnNJOnSyyvqyv8ylaRkv8Ax037H3jhaJvjmGWuiNdGEsc3/wCOn7n3mLxf9nD/ADd5C2belvSriZxi3sTMaOk3DZSpe1S7zch4SVFso0OzP+Inhna2p/TX/KqGFqS2QbK5QadmrM3o+FtdbKVDsy/iNHFaYnVlrOFNPkn3kztVpbWmfqrER+6EnuVzCpB5ZWLMNpmdN3VOnL7Sl3mOL0tOrthTj9lNfNkcL51N2McNAAFWwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA//2Q==", "text/html": [ "\n", " \n", " " ], "text/plain": [ "" ] }, "execution_count": 1, "metadata": {}, "output_type": "execute_result" } ], "source": [ "from IPython.display import YouTubeVideo\n", "YouTubeVideo('yNTG0qD4HMs', width=720, height=500)" ] }, { "cell_type": "markdown", "id": "48d4f96c", "metadata": {}, "source": [ "## AutoReduction Configuration" ] }, { "cell_type": "markdown", "id": "aadadd03", "metadata": {}, "source": [ "Here follows is a template autoreduction configuration file in json format,\n", "\n", "```json\n", "{\n", " \"Cycle\": \"2025-1_11A_CAL\",\n", " \"SampleEnvironment\": \"PAC\",\n", " \"OverwriteUserJsonFile\": \"Y\",\n", " \"ConfigFile\": {\n", " \"PAC\": \"PAC_default.json\",\n", " \"HTJANIS\": \"HTJANIS_default.json\",\n", " \"LTJANIS\": \"LTJANIS_default.json\",\n", " \"OC\": \"OC_default.json\",\n", " \"MICAS\": \"MICAS_default.json\",\n", " \"MICAS-33420\": \"MICAS_33420.json\",\n", " \"MICAS-32378\": \"MICAS_32378.json\",\n", " \"AGES\": \"AGES_default.json\",\n", " \"JANIS_GAS_noscale\": \"JANIS_GAS_noscale.json\",\n", " \"JANIS_GAS\": \"JANIS_GAS.json\",\n", " \"MAG\": \"MAG_default.json\",\n", " \"MAG-He3\": \"MAG_He3_default.json\"\n", " },\n", " \"Notes\": \"\",\n", " \"SNSPowderRedAbsCacheDir\": \"/SNS/PG3/shared/autoreduce/snspdr_abs_ms\",\n", " \"Comment-1\": \"Entries below are for MantidTotalScattering\",\n", " \"ClientID\": \".....\",\n", " \"Secret\": \".....\",\n", " \"TokenURL\": \"https://snsapp1.sns.ornl.gov/xprod_ro/proposal_production/oauth/token\",\n", " \"IPTSURL\": \"https://snsapp1.sns.ornl.gov/xprod_ro/proposal_production/sec_smpl/getSampleDetailsByIPTS/\",\n", " \"ONCatID\": \".....\",\n", " \"ONCatSecret\": \".....\",\n", " \"CacheDir\": \"/SNS/PG3/shared/autoreduce/mts_abs_ms\",\n", " \"EnvironmentName\": \"InAir\",\n", " \"InstrumentGeometryRun\": \"PG3_56131\",\n", " \"GroupingAllFile\": \"/SNS/PG3/shared/autoreduce/configs/pg3_group_all.xml\",\n", " \"SampleElementSize\": 1.0,\n", " \"ContainerElementSize\": 1.0,\n", " \"MergeRunsOptions\": \"2\",\n", " \"ReGenerateGrouping\": 0,\n", " \"QMaxByBank\": \"40.0\",\n", " \"TMinBragg\": \"1.0\",\n", " \"TMaxBragg\": \"266.0\",\n", " \"TBinBragg\": \"-0.0008\",\n", " \"ResampleX\": -8000,\n", " \"QParamsProcessing\": \"0.5,0.0005,40.\",\n", " \"OverrideUserConfig\": true,\n", " \"MTSFourierTransform\": {\n", " \"TMIN\": 3000.0,\n", " \"TMAX\": 270000.0,\n", " \"QMin\": 0.5,\n", " \"QMax\": 35.0,\n", " \"RMax\": 50.0,\n", " \"RStep\": 0.01,\n", " \"QOffset\": 0.0,\n", " \"RCutoff\": 1.0,\n", " \"Lorch\": false\n", " },\n", " \"ContainerPeaks\": \"None\",\n", " \"BkgScale\": 1.0,\n", " \"CyclePackingFrac\": true,\n", " \"ResonanceFilter\": {\n", " \"Units\": \"Wavelength\",\n", " \"LowerLimits\": [0.3],\n", " \"UpperLimits\": [0.5]\n", " },\n", " \"ReCaching\": false,\n", " \"FinalDIFC\": 22585.8,\n", " \"LastModifiedBy\": \"y8z\",\n", " \"LastModifiedTime\": \"07-16-2024 17:38:01 EST\"\n", "}\n", "```" ] }, { "cell_type": "markdown", "id": "6528b94f", "metadata": {}, "source": [ "- `Cycle`\n", "\n", " > Mandatory\n", "\n", " Specification of the run cycle. The value coming with the key should be a valid directory name under `/SNS/PG3/shared/CALIBRATION/`\n", "\n", "- `SampleEnvironment`\n", "\n", " > Mandatory\n", "\n", " Specification of the sample environment name. The value should be one of the keys in the following `ConfigFile` value. The `Cycle`, `SampleEnvironment` and `ConfigFile` keys together pin down the configuration file to use specific to the sample environment in a certain cycle. In the template presented above, the `SampleEnvironment` value is `PAC` and therefore one should be looking for the value in `ConfigFile` corresponding to the `PAC` key (namely, `PAC_default.json` in the example). So, the environment specific configuration to use in this case is located at,\n", "\n", " ```\n", " /SNS/PG3/shared/CALIBRATION/2025-1_11A_CAL/PAC_default.json\n", " ```\n", "\n", "- `OverwriteUserJsonFile`\n", "\n", " > Mandatory\n", "\n", " Whether or not to overwrite the potentially existing IPTS specific configuration file. The mechanism of central and IPTS specific configuration working together is presented in the section above. With the current key, the instrument team has the power to control whether or not to let the central configuration win over. `Y` is for `Yes` and `N` for `No`.\n", "\n", "- `ConfigFile`\n", "\n", " > Mandatory\n", "\n", " This specifies a dictionary pointing each sample environment to its dedicated configuration file name. As mentioned above, the value here will be used together with the `Cycle` and `SampleEnvironment` keys to pin down the configuration file to load. The configuration to load applies to only specific sample enviroments and this is why we are separating out the sample environment specific configurations.\n", "\n", "- `Notes`\n", "\n", " > Optional\n", "\n", " This is expected to be a single string without any white spaces (tabs or spaces). If a non-empty string is given, it will be used as part of the name for the calibration file to be used. See the sample environment specific configurations documentation below for more details.\n", "\n", "- `SNSPowderRedAbsCacheDir`\n", "\n", " > Optional\n", "\n", " With the `abs_pre_calc` routine, it is now possible to pre-calculate the absorption given a certain IPTS and the pre-calculated absorption will be saved into the specified location here. If the key is provided here, the autoreduction will try to find the pre-calculated absorption saved in the specified location and if existing, autoreduction will load it in for boosting the calculation. If the key is not provided, autoreduction will use an IPTS specific directory for absorption caching while running the reduction.\n", "\n", "- `Comment-1`\n", "\n", " > Optional\n", "\n", " This is just an annotation entry for the verbose purpose without any real functionality attached. It is for indicating that the configurations above the comment entry are for `SNSPowderReduction` and below the comemnt entry, the configurations are for `MantidTotalScattering`.\n", "\n", "- `ClientID`\n", "\n", " > Mandatory\n", "\n", " The client ID for talking to the `ITEMS` database.\n", "\n", "- `Secret`\n", "\n", " > Mandatory\n", "\n", " The secret for talking to the `ITEMS` database.\n", "\n", "- `TokenURL`\n", "\n", " > Mandatory\n", "\n", " The token URL for talking to the `ITEMS` database.\n", "\n", "- `IPTSURL`\n", "\n", " > Mandatory\n", "\n", " The IPTS URL for talking to the `ITEMS` database.\n", "\n", "- `ONCatID`\n", "\n", " > Mandatory\n", "\n", " The ONCAT ID for talking to the `ONCAT` database.\n", "\n", "- `ONCatSecret`\n", "\n", " > Mandatory\n", "\n", " The ONCAT secret for talking to the `ONCAT` database.\n", "\n", "- `CacheDir`\n", "\n", " > Mandatory\n", "\n", " Specify the cache directory for the `MantidTotalScattering` reduction.\n", "\n", "- `EnvironmentName`\n", "\n", " > Optional\n", "\n", " Name of the sample environment, Usually it is just `InAir` and we barely need to touch it.\n", "\n", "- `GroupingAllFile`\n", "\n", " > Optional\n", "\n", " The XML file specifying the grouping of all detectors. As long as there is no detector upgrade on the instrument, there is no need to change this.\n", "\n", "- `SampleElementSize`\n", "\n", " > Optional\n", "\n", " Cuboid size in `mm` for the absorption calculation for the sample.\n", "\n", "- `ContainerElementSize`\n", "\n", " > Optional\n", "\n", " Cuboid size in `mm` for the absorption calculation for the container.\n", "\n", "- `MergeRunsOptions`\n", "\n", " > Optional\n", "\n", " The criterion for merging different run numbers. Two options are available, `1` for using the run title with dynamic temperature information and `2` for using the run title without the dynamic temperature. The default option is `2` as usually we are not interested in the temperature fluctuation around the set point.\n", "\n", "- `ReGenerateGrouping`\n", "\n", " > Optional\n", "\n", " This is the key for detector grouping according to the similarity in absorption spectra as mentioned earlier. If no upgrade to the detectors, one can always stay with `0` as the input here, indicating that we don't want to re-generate the group. For POWGEN, the grouping files and information are stored in the following directory, `/SNS/PG3/shared/autoreduce/configs`.\n", "\n", "- `QMaxByBank`\n", "\n", " > Mandatory\n", "\n", " The `QMax` value to be used for each of the output bank of data. If one value is given, it will be used for banks. Multiple values can be provided, separated by comma. The value should be given in a string, as presented in the example above.\n", "\n", "- `TMinBragg`\n", "\n", " > Mandatory\n", "\n", " The minimal TOF value for the output Bragg diffraction data for each bank.\n", "\n", "- `TMaxBragg`\n", "\n", " > Mandatory\n", "\n", " The maximal TOF value for the output Bragg diffraction data for each bank.\n", "\n", "- `QParamsProcessing`\n", "\n", " > Mandatory\n", "\n", " This is the $Q$-space binning parameters used internally for MTS data processing. Since we are going to throw away the neutron events after the data processing, we have to use a fine $Q$-space binning to make sure that we can always go with a coarser bin for the binning down the road.\n", "\n", "- `OverrideUserConfig`\n", "\n", " > Optional\n", "\n", " Any time the autoreduction is running, it will try to load or save the central configuration to the experiment-specific location so that later on, on the user side, they can change the parameter locally without influencing others. The default value for this flag is `false`, indicating that as long as the previously saved user configuration file can be found, the autoreduction routine will pick it up. If the flag is set to `true`, the central configuration will take the priority and after the reduction, the central configuration file will be copied into the experiment-specific location, with whatever existing configuration files there backed up to avoid losing history.\n", "\n", "- `CyclePackingFrac`\n", "\n", " > Optional\n", "\n", " For the autoreduction purpose, we could check the log file from `MTS` running, grab the suggested packing fraction and start a new reduction with the tweaked packing fraction until the convergence of the packing fraction. This flag controls whether we want to perform such a loop. The default option is `true`, but in some cases, due to the poor data quality, the loop may get stuck, in which case we want to turn off the cycling.\n", "\n", "- `MTSFourierTransform`\n", "\n", " > Optional\n", "\n", " A dictionary should be given as the value. Here are the entries in the dictionary,\n", "\n", " - `TMIN`\n", "\n", " > Mandatory\n", "\n", " This value will go into the `TMin` key of `AlignAndFocusArgs` for the sample, specifying the minimum TOF for the align-and-focus operation in microsecond.\n", "\n", " - `TMAX`\n", "\n", " > Mandatory\n", "\n", " This value will go into the `TMax` key of `AlignAndFocusArgs` for the sample, specifying the maximum TOF for the align-and-focus operation in microsecond.\n", "\n", " - `QMin`\n", "\n", " > Mandatory\n", "\n", " This key controls the minimal $Q$ used for Fourier transform, to obtain the PDF.\n", "\n", " - `QMax`\n", "\n", " > Mandatory\n", "\n", " This key controls the maximal $Q$ used for Fourier transform, to obtain the PDF.\n", "\n", " - `RMax`\n", "\n", " > Mandatory\n", "\n", " This key controls the maximal $r$ of the PDF data.\n", "\n", " - `RStep`\n", "\n", " > Mandatory\n", "\n", " This key controls the interval of the PDF data.\n", "\n", " - `QOffset`\n", "\n", " > Mandatory\n", "\n", " The offset in $Q$-space that we want to apply to the reduced total scattering data before the Fourier transform.\n", "\n", " - `RCutoff`\n", "\n", " > Mandatory\n", "\n", " The cutoff in $r$-space regarding the Fourier filter, i.e., all signals below the cutoff will be Fourier filtered.\n", "\n", " - `Lorch`\n", "\n", " > Mandatory\n", "\n", " Whether to apply the lorch smoothing algorithm for the PDF data.\n", "\n", "- `FinalDIFC`\n", "\n", " > Mandatory\n", "\n", " After the total scattering data processing, the data would be in $Q$-space. To obtain the Bragg diffraction data in TOF-space which can be imported into Rietveld programs for data analysis, we have to convert the $Q$-space data with some arbitrary values of DIFC for each bank of data. Here we can give the list of the DIFC values to be used for such a purpose and the aim is to keep consistent whatever conventional values that other data reduction programs were using.\n", "\n", "- `ContainerPeaks`\n", "\n", " > Optional\n", "\n", " With this flag, one can specify a list of peaks (in `d`-space) for the container in case there are Bragg peaks in the container signal that needs to be stripped off. The list should be given in a string and different peak positions should be separated with `comma`.\n", "\n", "- `BkgScale`\n", "\n", " > Optional\n", "\n", " Specify a scale factor to be multiplied onto the container background in case of over or under subtraction of the container signal.\n", "\n", "- `ResonanceFilter`\n", "\n", " > Optional\n", "\n", " A dictionary is expected to be provided with the key. Here are the expected entries of the dictionary,\n", "\n", " - `Units`\n", "\n", " > Mandatory\n", "\n", " Specify the space in which the resonance filter parameters will be applied. Acceptable values are those in Mantid unit factor -- see [here](https://docs.mantidproject.org/nightly/concepts/UnitFactory.html).\n", "\n", " - `LowerLimits`\n", "\n", " > Mandatory\n", "\n", " Specify a list of lower limits of the window within which the neutron counts are to be excluded.\n", "\n", " - `UpperLimits`\n", "\n", " > Mandatory\n", "\n", " Specify a list of upper limits of the window within which the neutron counts are to be excluded. The length of the `LowerLimits` and `UpperLimits` lists should be equal to each other." ] } ], "metadata": { "kernelspec": { "display_name": "Python (default)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.7.12" }, "widgets": { "application/vnd.jupyter.widget-state+json": { "state": {}, "version_major": 2, "version_minor": 0 } } }, "nbformat": 4, "nbformat_minor": 5 }