Ticket #9219 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Add default value to python Goniometer.getEulerAngles

Reported by: Peter Peterson Owned by: Peter Peterson
Priority: major Milestone: Release 3.2
Component: Python Keywords:
Cc: Blocked By:
Blocking: Tester: Vickie Lynch

Description

The default value in C++ is "YZX", this needs to be re-exposed to python.

Also, document that the "universal" goniometer is "YZY" in python.

Change History

comment:1 Changed 7 years ago by Peter Peterson

  • Status changed from new to assigned

comment:2 Changed 7 years ago by Peter Peterson

  • Status changed from assigned to inprogress

Re #9219. Exposing Goniometer::getEulerAngles default value to python.

Changeset: 8e456de2b523198543553f4e345d19bcb597ce73

comment:3 Changed 7 years ago by Peter Peterson

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

This is on feature/9219_goniometer.py.

To test:

  1. Load something that has a goniometer (like a TOPAS file)
  2. a=wksp.run().getGoniometer()
  3. help(a)
  4. print a.getEulerAngles()
  5. print a.getEulerAngles("YZY")

comment:4 Changed 7 years ago by Vickie Lynch

  • Status changed from verify to verifying
  • Tester set to Vickie Lynch

comment:5 Changed 7 years ago by Vickie Lynch

  • Status changed from verifying to closed

Merge remote branch 'origin/feature/9219_goniometer.py'

Full changeset: db85e6ffa73e91c74ac93570d74e6ec16ad634f8

comment:6 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 10062

Note: See TracTickets for help on using tickets.