Ticket #9840: wire_in_polarization_correction.py

File wire_in_polarization_correction.py, 603 bytes (added by Owen Arnold, 6 years ago)
Line 
1from isis_reflectometry import quick
2reload(quick)
3run_1 = Load('POLREF00008481.nxs')
4run_2 = Load('POLREF00008481.nxs')
5run_3 = Load('POLREF00008481.nxs')
6run_4 = Load('POLREF00008481.nxs')
7
8runs = GroupWorkspaces(InputWorkspaces='run_1, run_2, run_3, run_4')
9
10mytemp = SumSpectra(InputWorkspace=runs, StartWorkspaceIndex=3, EndWorkspaceIndex=644)
11
12#out = quick.quick(run=runs, theta=0.4, detector_component_name='lineardetector', polcorr=2, correct_positions=False  )
13
14a, b, c = ReflectometryReductionOneAuto(InputWorkspace=runs, ThetaIn=0.4, CorrectDetectorPositions=False, PolarizationAnalysis='PA')