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
f6fe8f9f
Commit
f6fe8f9f
authored
Feb 12, 2020
by
Whitfield, Ross
Browse files
Update Al2O3_integration_test_MDE.py
parent
d49a97d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Al2O3_integration_test_MDE.py
View file @
f6fe8f9f
...
...
@@ -9,9 +9,13 @@ import matplotlib.pyplot as plt
import
numpy
as
np
data
=
LoadWANDSCD
(
IPTS
=
22745
,
RunNumbers
=
'14
7131-148931
'
)
data
=
LoadWANDSCD
(
IPTS
=
22745
,
RunNumbers
=
'14
5330-147130
'
)
mde
=
ConvertHFIRSCDtoMDE
(
data
,
wavelength
=
1.488
,
MinValues
=
'-10,-10,-10'
,
MaxValues
=
'10,10,10'
)
data2
=
LoadWANDSCD
(
IPTS
=
22745
,
RunNumbers
=
'147131-148931'
)
mde2
=
ConvertHFIRSCDtoMDE
(
data2
,
wavelength
=
1.488
,
MinValues
=
'-10,-10,-10'
,
MaxValues
=
'10,10,10'
)
PredictPeaks
(
InputWorkspace
=
data
,
MinDSpacing
=
0.5
,
ReflectionCondition
=
'Rhombohedrally centred, obverse'
,
...
...
@@ -30,4 +34,16 @@ IntegratePeaksMD(InputWorkspace=mde,
PeaksWorkspace
=
'predict'
,
PeakRadius
=
0.5
,
BackgroundOuterRadius
=
0.75
,
OutputWorkspace
=
'integrated_bkg'
)
IntegratePeaksMD
(
InputWorkspace
=
mde
,
PeaksWorkspace
=
'predict'
,
PeakRadius
=
0.5
,
OutputWorkspace
=
'integrated2'
)
IntegratePeaksMD
(
InputWorkspace
=
mde
,
PeaksWorkspace
=
'predict'
,
PeakRadius
=
0.5
,
BackgroundOuterRadius
=
0.75
,
OutputWorkspace
=
'integrated2_bkg'
)
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