1 | # The following should load runs 15189 - 15191 |
---|
2 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015191.nxs',LogValue='run_number') |
---|
3 | |
---|
4 | # Should load runs 15192, 15193 only |
---|
5 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number') |
---|
6 | |
---|
7 | # Should remove runs 15189, 15190, 15191, and load nothing |
---|
8 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015192.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number') |
---|
9 | |
---|
10 | # Should load runs 15189, 15190, 15191 and remove nothing |
---|
11 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number') |
---|
12 | |
---|
13 | # Should remove runs 15189, 15190, 15191, and load nothing |
---|
14 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015192.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number') |
---|
15 | |
---|
16 | # Should load runs 15189, 15190, 15191, and remove runs 15192, 15193 |
---|
17 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015191.nxs',LogValue='run_number') |
---|
18 | |
---|
19 | # Should remove everything and load 15189 - 15193 (LogValue changed) |
---|
20 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='sample_magn_field') |
---|
21 | |
---|
22 | # Should remove everything and load 15189 - 15193 (Function changed) |
---|
23 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number',Function='Min') |
---|
24 | |
---|
25 | # Should remove everything and load 15189 - 15193 (Type changed) |
---|
26 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number',Type='Differential') |
---|
27 | |
---|
28 | # Should remove everything and load 15189 - 15193 (Periods changed) |
---|
29 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number',Green=2,Red=1) |
---|
30 | |
---|
31 | # Should remove everything and load 15189 - 15193 (Detector grouping changed) |
---|
32 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number',ForwardSpectra='1-32',BackwardSpectra='33-64') |
---|
33 | |
---|
34 | # Should remove everything and load 15189 - 15193 (Time limits changed) |
---|
35 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number',TimeMin=0.5,TimeMax=1.5) |
---|
36 | |
---|
37 | # Should remove everything and load 15189 - 15193 (DeadTimeCorrections changed) |
---|
38 | ws = PlotAsymmetryByLogValue(FirstRun='MUSR00015189.nxs',LastRun='MUSR00015193.nxs',LogValue='run_number',DeadTimeCorrType='FromRunData') |
---|