Commit 77d60a94 authored by Whitfield, Ross's avatar Whitfield, Ross
Browse files

Update omega_scan/ omega_scan/

parent 62836df4
\ No newline at end of file
......@@ -6,4 +6,7 @@ peaks = LoadNexus('peaks.nxs')
for p in range(peaks.getNumberPeaks()):
peak = peaks.getPeak(p)
g = peak.getGoniometerMatrix()
print(peak.getDetectorID(), peak.getQSampleFrame(), np.mod(np.arctan(g[0,2]/g[0,0])*180/np.pi,-180))
detID = peak.getDetectorID()
print(detID, peak.getQSampleFrame(), np.mod(np.arctan(g[0,2]/g[0,0])*180/np.pi,-180), x, y)
Supports Markdown
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