Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Whitfield, Ross
wand
Commits
459fde41
Commit
459fde41
authored
Sep 13, 2018
by
Whitfield, Ross
Browse files
Update integration/IPTS-21680_IntegratePeaksUsingClusters.py
parent
e2e2354c
Changes
1
Hide whitespace changes
Inline
Side-by-side
integration/IPTS-21680_IntegratePeaksUsingClusters.py
0 → 100644
View file @
459fde41
LoadWANDSCD
(
IPTS
=
'7776'
,
RunNumbers
=
'124736'
,
OutputWorkspace
=
'Vana_124736'
)
LoadWANDSCD
(
IPTS
=
'21680'
,
RunNumbers
=
'122935-124735'
,
OutputWorkspace
=
'Er2Ge2O7'
)
ConvertWANDSCDtoQ
(
InputWorkspace
=
'Er2Ge2O7'
,
NormalisationWorkspace
=
'Vana_124736'
,
UBWorkspace
=
'Er2Ge2O7'
,
Wavelength
=
'1.486'
,
Vproj
=
'0,0,1'
,
Wproj
=
'0,1,0'
,
BinningDim0
=
'-4.3,7.4,1201'
,
BinningDim1
=
'-1.1,1.1,51'
,
BinningDim2
=
'-6,7.4,1201'
,
OutputWorkspace
=
'q'
)
IntegrateMDHistoWorkspace
(
InputWorkspace
=
'q'
,
P2Bin
=
'-0.97,0,0.07'
,
OutputWorkspace
=
'q2'
)
PredictPeaks
(
InputWorkspace
=
'q'
,
CalculateGoniometerForCW
=
True
,
Wavelength
=
1.488
,
MaxAngle
=
0
,
OutputWorkspace
=
'predict'
)
IntegratePeaksUsingClusters
(
InputWorkspace
=
'q2'
,
PeaksWorkspace
=
'predict'
,
Threshold
=
25000
,
OutputWorkspace
=
'integrated'
,
OutputWorkspaceMD
=
'labeled'
)
SaveHKL
(
'integrated'
,
Filename
=
'/SNS/users/rwp/wand/integration/file.hkl'
)
SaveReflections
(
'integrated'
,
Filename
=
'/SNS/users/rwp/wand/integration/peaks.hkl'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment