Skip to content

Commit

Permalink
Added cut of Q axis after geometry correction. This refs #4303
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanBilheux committed Feb 6, 2012
1 parent 377a143 commit c4550de
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,9 @@ def PyExec(self):
# background range (along the y-axis) and of only the pixel
# of interest along the x-axis (to avoid the frame effect)
theta = tthd_rad - ths_rad
AngleOffset = float(self.getProperty("AngleOffset"))
theta += AngleOffset
AngleOffset_deg = float(self.getProperty("AngleOffset"))
AngleOffset_rad = (AngleOffset_deg * math.pi) / 180.
theta += AngleOffset_rad

if dMD is not None and theta is not None:
# _tof_axis = mtd[ws_histo_data].readX(0)
Expand Down

0 comments on commit c4550de

Please sign in to comment.