\(\renewcommand\AA{\unicode{x212B}}\)
IndirectSampleChanger v1¶
Summary¶
Create elastic window scans for sample changer
Properties¶
Name |
Direction |
Type |
Default |
Description |
---|---|---|---|---|
Instrument |
Input |
string |
IRIS |
The name of the instrument. Allowed values: [‘IRIS’, ‘OSIRIS’] |
Analyser |
Input |
string |
Mandatory |
The analyser bank used during run. Allowed values: [‘graphite’, ‘mica’, ‘fmica’] |
Reflection |
Input |
string |
Mandatory |
Reflection number for instrument setup during run. Allowed values: [‘002’, ‘004’, ‘006’] |
FirstRun |
Input |
long |
Mandatory |
First Sample run-number. |
LastRun |
Input |
long |
Mandatory |
Last Sample run-number. |
NumberSamples |
Input |
long |
Mandatory |
Increment for run-number. |
SpectraRange |
Input |
long list |
0,1 |
Comma separated range of spectra numbers to use. |
ElasticRange |
Input |
dbl list |
Mandatory |
Energy range for the elastic component. |
InelasticRange |
Input |
dbl list |
Mandatory |
Energy range for the inelastic component. |
TotalRange |
Input |
dbl list |
Mandatory |
Energy range for the total energy component. |
SampleEnvironmentLogName |
Input |
string |
Position |
Name of the sample environment log entry |
SampleEnvironmentLogValue |
Input |
string |
last_value |
Value selection of the sample environment log entry. Allowed values: [‘last_value’, ‘average’] |
MSDFit |
Input |
boolean |
False |
Perform an MSDFit. Do not use with GroupingMethod as “All” |
WidthFit |
Input |
boolean |
False |
Perform a 2 peak width Fit. Do not use with GroupingMethod as “All” |
Plot |
Input |
boolean |
False |
True to plot the output data. |
Save |
Input |
boolean |
False |
True to save the output data. |
Description¶
This algorithm takes a range of input runs that have been obtained using the Sample Changer on Indirect Inelastic Instruments at the ISIS facility. The sample changer has 3 positions. Input run numbers are associated with certain general temperature points. The algorithm uses the position of the sample to determine which specific temperature from the sample logs should be used for an ElasticWindowScan <algm-ElasticWindowScan>. From the ElasticWindowScan, the EISF (elastic incoherent scattering factor) is calculated and there is an option to run MSDFit. This is repeated for the number of different materials in the sample changer.
For example, if there are 2 different materials in the sample changer, at 3 different temperatures 10K, 20K and 300K. The algorithm would execute 2 scans, one for each sample: The first scan would be 1st, 3rd and 5th runs combined. The second scan would be 2nd, 4th, and 6th runs combined.
Categories: AlgorithmIndex | Workflow\MIDAS
Source¶
Python: IndirectSampleChanger.py