Ticket #1328 (closed: duplicate)
Create routine to translate between spectrum number of workspace index
Reported by: | Stuart Campbell | Owned by: | Stuart Campbell |
---|---|---|---|
Priority: | major | Milestone: | Iteration 24 |
Component: | Keywords: | ||
Cc: | zikovskyjl@… | Blocked By: | |
Blocking: | Tester: | Jean Bilheux |
Description
A utility routine to allow the determination of the workspace index given the spectrum number (and vice-versa).
Change History
comment:2 Changed 10 years ago by Stuart Campbell
- Milestone changed from Iteration 24 to Iteration 25
comment:3 Changed 10 years ago by Janik Zikovsky
See ticket #1485 and associated check-ins; sorry I made a new ticket, not realizing this one existed.
comment:4 Changed 10 years ago by Stuart Campbell
- Status changed from new to verify
- Resolution set to duplicate
comment:5 Changed 10 years ago by Stuart Campbell
- Status changed from verify to reopened
- Resolution duplicate deleted
comment:6 Changed 10 years ago by Stuart Campbell
- Status changed from reopened to accepted
- Milestone changed from Iteration 25 to Iteration 24
comment:7 Changed 10 years ago by Stuart Campbell
- Status changed from accepted to verify
- Resolution set to duplicate
comment:8 Changed 10 years ago by Jean Bilheux
- Status changed from verify to verifying
- Tester set to Jean Bilheux
comment:9 Changed 10 years ago by Jean Bilheux
- Status changed from verifying to closed
Yes, it's a duplicate.
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2175
Note: See
TracTickets for help on using
tickets.
See the Axis::spectraNo and Axis::getSpectraIndexMap. If you really need a method to go from a single spectrum number to a single workspace index, be sure to use caching to avoid a very inefficient call.