Commit ff019b71 authored by Whitfield, Ross's avatar Whitfield, Ross
Browse files

Update .#lipid_blayer.py lipid_blayer.py lipid_blayer_q_offset.py

parent bfa9b091
rwp@diffuse.10847:1536763577
\ No newline at end of file
LoadWANDSCD(IPTS='17751', RunNumbers='64974-65134', OutputWorkspace='DPPC')
LoadWANDSCD(IPTS='7776', RunNumbers='124736', OutputWorkspace='vanadium')
IntegrateMDHistoWorkspace(InputWorkspace='DPPC', P1Bin='160,350', OutputWorkspace='DPPC_int')
ReplicateMD(ShapeWorkspace='DPPC', DataWorkspace='vanadium', OutputWorkspace='vanadium_rep')
DivideMD(LHSWorkspace='DPPC', RHSWorkspace='vanadium_rep', OutputWorkspace='DPPC_normed')
IntegrateMDHistoWorkspace(InputWorkspace='DPPC_normed', P1Bin='160,350', OutputWorkspace='DPPC_int')
import numpy as np
DPPC = LoadWANDSCD(IPTS='17751', RunNumbers='64974-65134')
s1 = np.asarray(DPPC.getExperimentInfo(0).run().getProperty('s1').value)
s1_offset = -45
DPPC.getExperimentInfo(0).run().addProperty('s1', list(s1+s1_offset), True)
ConvertWANDSCDtoQ(InputWorkspace='DPPC', OutputWorkspace='q')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment