Commit 4015bacf authored by Whitfield, Ross's avatar Whitfield, Ross
Browse files

Update integration/KCl.py

parent 067cb0b9
......@@ -13,9 +13,9 @@ IntegratePeaksUsingClusters(InputWorkspace='q', PeaksWorkspace='peaks', Threshol
q2=ConvertWANDSCDtoQ(InputWorkspace='KCl', NormalisationWorkspace='Vana_26613', KeepTemporaryWorkspaces=True, BinningDim0='-8.01,8.01,801', BinningDim1='-1.21,0.41,81', BinningDim2='-8.01,8.01,801')
FindPeaksMD(InputWorkspace='q2_data', PeakDistanceThreshold=0.5, MaxPeaks=100, DensityThresholdFactor=1800, CalculateGoniometerForCW=True, Wavelength=1.488, OutputWorkspace='peaks2')
FindPeaksMD(InputWorkspace='q2_data', PeakDistanceThreshold=0.5, MaxPeaks=100, DensityThresholdFactor=1300, CalculateGoniometerForCW=True, Wavelength=1.488, OutputWorkspace='peaks2')
FindUBUsingLatticeParameters(PeaksWorkspace='peaks2', a=6.292, b=6.292, c=6.292, alpha=90, beta=90, gamma=90)
FindUBUsingLatticeParameters(PeaksWorkspace='peaks2', a=6.2952, b=6.2952, c=6.2952, alpha=90, beta=90, gamma=90)
IndexPeaks(PeaksWorkspace='peaks2')
IntegratePeaksUsingClusters(InputWorkspace='q2', PeaksWorkspace='peaks2', Threshold=60000, OutputWorkspace='integrated2', OutputWorkspaceMD='labeled2')
......@@ -26,7 +26,14 @@ IntegratePeaksUsingClusters(InputWorkspace='q2', PeaksWorkspace='peaks2', Thresh
# IntegratePeaksMDHKL
hkl=ConvertWANDSCDtoQ(InputWorkspace='KCl', NormalisationWorkspace='Vana_26613', UBWorkspace='peaks', Frame='HKL',BinningDim0='-0.42,0.42,41',BinningDim1='-8.02,8.02,401',BinningDim2='-8.02,8.02,401')
hkl=ConvertWANDSCDtoQ(InputWorkspace='KCl', NormalisationWorkspace='Vana_26613', UBWorkspace='peaks', Frame='HKL',BinningDim0='-1.22,0.42,41',BinningDim1='-8.02,8.02,401',BinningDim2='-8.02,8.02,401')
IntegratePeaksMDHKL(InputWorkspace='hkl', PeaksWorkspace='peaks', OutputWorkspace='hkl_integrated', DeltaHKL=0.5, GridPoints=201, NeighborPoints=10)
IntegratePeaksMDHKL(InputWorkspace='hkl', PeaksWorkspace='peaks', OutputWorkspace='hkl_integrated2', DeltaHKL=0.5, GridPoints=201, NeighborPoints=2)
IntegratePeaksMDHKL(InputWorkspace='hkl', PeaksWorkspace='peaks', OutputWorkspace='hkl_integrated3', DeltaHKL=0.5, GridPoints=201, NeighborPoints=5)
IntegratePeaksMDHKL(InputWorkspace='hkl', PeaksWorkspace='peaks', OutputWorkspace='hkl_integrated4', DeltaHKL=0.5, GridPoints=201, NeighborPoints=1)
IntegratePeaksMDHKL(InputWorkspace='hkl', PeaksWorkspace='peaks', OutputWorkspace='hkl_integrated5', DeltaHKL=0.5, GridPoints=201, NeighborPoints=20)
hkl2=ConvertWANDSCDtoQ(InputWorkspace='KCl', NormalisationWorkspace='Vana_26613', UBWorkspace='peaks2', Frame='HKL',BinningDim0='-0.81,0.81,81',BinningDim1='-8.01,8.01,801',BinningDim2='-8.01,8.01,801')
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