Ticket #4512 (closed: wontfix)
"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
Change History
Changed 9 years ago by Peter Parker
- Attachment EnergyConversion.pdf added
comment:1 Changed 9 years ago by Peter Parker
- Description modified (diff)
Proposed initial changes to Mantid:
- 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.
- Edit user preferences to include a preferred sub unit.
- Insert a boolean property into SaveAscii, along the lines of "Save in chosen sub unit?". Default is false.
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: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: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
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)
Closing as per http://trac.mantidproject.org/mantid/ticket/1380#comment:17.
comment:18 Changed 7 years ago by Russell Taylor
- Status changed from verify to verifying
- Tester set to Russell Taylor
comment:20 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 5359
Conversion Factor Tables