Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
View Tickets
Search
Context Navigation
Back to Ticket #7729
Ticket #7729
: qTest.py
File qTest.py,
213 bytes
(added by Samuel Jackson,
7 years
ago)
Reference script
Line
1
ws
=
Load
(
"irs26173_graphite002_red"
)
2
spec
=
ConvertSpectrumAxis
(
InputWorkspace
=
ws
,
Target
=
"ElasticQ"
,
EMode
=
"Indirect"
)
3
ax
=
spec
.
getAxis
(
1
)
4
5
for
row
in
range
(
0
,
spec
.
getNumberHistograms
()):
6
print
ax
.
getValue
(
row
)
Download in other formats:
Original Format