Ticket #4387 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Expose goniometer via Python API

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: major Milestone: Release 2.0
Component: VATES Keywords:
Cc: Blocked By:
Blocking: Tester: Andrei Savici

Description

Currently expose OrientedLattice, but not Goniometer from run object in Python API. No obvious reason why we can't do this. Would be helpful for MDWorkspace Creation related tickets.

Change History

comment:1 Changed 9 years ago by Owen Arnold

refs #4387. First implementation. Untested via unit tests yet.

Few random manual demonstrate working Changeset: c4b224d670c59557789b843d5c5397663675e93b

comment:2 Changed 9 years ago by Owen Arnold

  • Status changed from new to accepted

comment:3 Changed 9 years ago by Owen Arnold

A couple of commits against wrong ticket see #4328

comment:4 Changed 9 years ago by Owen Arnold

  • Status changed from accepted to verify
  • Resolution set to fixed

Tester: Python unit tests demonstrate new working features. These will also provide a good starting point for any manual testing performed.

comment:6 Changed 9 years ago by Andrei Savici

  • Status changed from verify to verifying
  • Tester set to Andrei Savici

comment:7 Changed 9 years ago by Andrei Savici

  • Status changed from verifying to closed

I can access the goniometer from a workspace. I cannot set the angle to the goniometer on the workspace, only to my copy. This should probably be stated explicitly.

w.getRun().getGoniometer().setRotationAngle("omega",5)
print w.getRun().getGoniometer().axesInfo()
Name 	 Direction 	 Sense 	 Angle 
omega	[0,1,0]	CCW	0
chi	[0,0,1]	CCW	135
phi	[0,1,0]	CCW	0.00769

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5234

Note: See TracTickets for help on using tickets.