Commit 11a985be authored by Whitfield, Ross's avatar Whitfield, Ross
Browse files

Update .#calculate_HKL_range.py calculate_HKL_range.py

parent 7e47b0b7
rwp@diffuse.17553:1554727402
\ No newline at end of file
......@@ -10,8 +10,8 @@ wavelength = 1.488
import numpy as np
s1 = np.deg2rad(ws.getExperimentInfo(0).run().getProperty('s1').value)
polar = np.deg2rad(ws.getExperimentInfo(0).run().getProperty('twotheta').value)
azim = np.deg2rad(ws.getExperimentInfo(0).run().getProperty('azimuthal').value)
polar = np.array(ws.getExperimentInfo(0).run().getProperty('twotheta').value)
azim = np.array(ws.getExperimentInfo(0).run().getProperty('azimuthal').value)
UB = ws.getExperimentInfo(0).sample().getOrientedLattice().getUB()
k = 1/wavelength
......
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