Última atividade 1752075131

HB2C PD reduction test script

yuanpeng's Avatar yuanpeng revisou este gist 1752075131. Ir para a revisão

1 file changed, 1 deletion

hb2c_pd_red_test.py

@@ -1,4 +1,3 @@
1 - # import mantid algorithms, numpy and matplotlib
2 1 from mantid.simpleapi import *
3 2 import matplotlib.pyplot as plt
4 3 import numpy as np

yuanpeng's Avatar yuanpeng revisou este gist 1752075122. Ir para a revisão

1 file changed, 26 insertions

hb2c_pd_red_test.py(arquivo criado)

@@ -0,0 +1,26 @@
1 + # import mantid algorithms, numpy and matplotlib
2 + from mantid.simpleapi import *
3 + import matplotlib.pyplot as plt
4 + import numpy as np
5 +
6 + LoadWAND(
7 + IPTS="22745",
8 + RunNumbers="1612206",
9 + Grouping="4x4",
10 + OutputWorkspace="neutron_bucket"
11 + )
12 +
13 + LoadWAND(
14 + Filename="/HFIR/HB2C/IPTS-23858/nexus/HB2C_1389798.nxs.h5",
15 + Grouping="4x4",
16 + OutputWorkspace="van_1389798"
17 + )
18 +
19 + WANDPowderReduction(
20 + InputWorkspace="neutron_bucket",
21 + CalibrationWorkspace="van_1389798",
22 + Wavelength="1.486",
23 + Target="Theta",
24 + NumberBins=1200,
25 + OutputWorkspace="testing"
26 + )
Próximo Anterior