Ticket #4512 (closed: wontfix)

Opened 9 years ago

Last modified 5 years ago

"Sub-Unit" Functionality

Reported by: Peter Parker Owned by: Peter Parker
Priority: minor Milestone: Release 3.2
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Russell Taylor

Description (last modified by Peter Parker) (diff)

Timmy would like to see various "sub-units" available within Mantid, specifically regarding energy.

"Necessary":

  • meV
  • eV
  • cm-1
  • THz

Also the following:

  • kjoule/mol
  • kcal/mol
  • Hartree
  • GHz
  • MHz

(Attached is a table with some of the conversion factors.)

Attachments

EnergyConversion.pdf (32.8 KB) - added by Peter Parker 9 years ago.
Conversion Factor Tables

Change History

Changed 9 years ago by Peter Parker

Conversion Factor Tables

comment:1 Changed 9 years ago by Peter Parker

  • Description modified (diff)

Proposed initial changes to Mantid:

  1. Change "Unit" class to support a list of sub units, each having a conversion factor. Unit objects can then be queried with a sub unit request, and then return the appropriate factor.
  2. Edit user preferences to include a preferred sub unit.
  3. Insert a boolean property into SaveAscii, along the lines of "Save in chosen sub unit?". Default is false.
Last edited 9 years ago by Peter Parker (previous) (diff)

comment:2 Changed 9 years ago by Peter Parker

Alternative, temporary implementation, to get at least some of this functionality in before the upcoming release:

  • Add a property to the Tosca parameters file, along the lines of "present user with convert to cm-1 units choice, within the Convert to Energy interface?".
  • Refer to this property when the interface starts up, and show a checkbox in load options.
  • When checked, the contents of the loaded workspace will have been converted to cm-1. (Essentially just multiply the x axis by 8.065.)

comment:3 Changed 9 years ago by Peter Parker

  • Status changed from new to accepted
  • Milestone changed from Iteration 33 to Iteration 32

comment:4 Changed 9 years ago by Peter Parker

  • Priority changed from major to critical

comment:5 Changed 9 years ago by Peter Parker

  • Milestone changed from Iteration 32 to Iteration 33

Moved temporary implementation to another ticket (#4621). Moving this titcket to iteration 33.

comment:6 Changed 9 years ago by Peter Parker

  • Priority changed from critical to minor

Minor priority for now.

comment:7 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.1 to Release 2.2

Moved at end of release 2.1

comment:8 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.2 to Release 2.3

comment:9 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.3 to Release 2.4

moved to Release 2.4

comment:10 Changed 8 years ago by Nick Draper

  • Milestone changed from Release 2.4 to Release 2.5

Moved at the code freeze for release 2.4

comment:11 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.5 to Release 2.6

Moved to r2.6 at the end of r2.5

comment:12 Changed 7 years ago by Nick Draper

  • Status changed from accepted to assigned

comment:13 Changed 7 years ago by Nick Draper

  • Status changed from assigned to new

comment:14 Changed 7 years ago by Nick Draper

  • Component changed from Mantid to Framework

comment:15 Changed 7 years ago by Nick Draper

  • Milestone changed from Release 2.6 to Backlog

Moved to the Backlog after the code freeze for R2.6

comment:16 Changed 7 years ago by Peter Parker

  • Status changed from new to verify
  • Resolution set to wontfix
  • Description modified (diff)

comment:17 Changed 7 years ago by Peter Parker

  • Milestone changed from Backlog to Release 3.2

comment:18 Changed 7 years ago by Russell Taylor

  • Status changed from verify to verifying
  • Tester set to Russell Taylor

comment:19 Changed 7 years ago by Russell Taylor

  • Status changed from verifying to closed

comment:20 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 5359

Note: See TracTickets for help on using tickets.