Ticket #135 (closed: fixed)

Opened 12 years ago

Last modified 5 years ago

Introduce more flexibility to the axes of a 2D workspace

Reported by: Russell Taylor Owned by: Russell Taylor
Priority: major Milestone: Iteration 9
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

At present, a Workspace2D has a spectra number attached to its Y axis and only the X axis can have a unit. We want to make things more flexible, so that it's possible to have a workspace with units attached to both axes.

Change History

comment:1 Changed 12 years ago by Russell Taylor

  • Status changed from new to assigned

comment:2 Changed 12 years ago by Russell Taylor

(In [1034]) Abolished Workspace2D's setHistogramNumber method. All Workspace2D's must be initialised before use. Re #135.

comment:3 Changed 12 years ago by Russell Taylor

(In [1036]) Re #135.

comment:4 Changed 12 years ago by Russell Taylor

(In [1056]) Added a new Axis class which holds the spectrum numbers and the unit. An axis can also be of numeric type and the case where the axis (X) values can differ across histograms in a 2D workspace is handled by the new RefAxis class. Re #135.

comment:5 Changed 12 years ago by Russell Taylor

(In [1057]) Re #135.

comment:6 Changed 12 years ago by Russell Taylor

(In [1058]) Forgot that I hadn't quite finished one method. Re #135.

comment:7 Changed 12 years ago by Russell Taylor

(In [1059]) Oops. Re #135.

comment:8 Changed 12 years ago by Nick Draper

  • Status changed from assigned to new
  • Milestone changed from Iteration 8 to Iteration 9

Do we have any tests for the use of this?

comment:9 Changed 12 years ago by Russell Taylor

  • Status changed from new to closed
  • Resolution set to fixed

(In [1068]) Tests for Axis classes. Closes #135.

comment:10 Changed 12 years ago by Russell Taylor

  • Status changed from closed to reopened
  • Resolution fixed deleted

comment:11 Changed 12 years ago by Russell Taylor

  • Status changed from reopened to closed
  • Resolution set to fixed

(In [1074]) Fix RefAxis tests on Windows. Closes #135 (again).

comment:12 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 983

Note: See TracTickets for help on using tickets.