Ticket #1375 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Improve workspace Python commands

Reported by: Nick Draper Owned by: Martyn Gigg
Priority: major Milestone: Iteration 24
Component: Keywords:
Cc: Blocked By:
Blocking: Tester: Michael Whitty

Description

Find the bin number associated with a given x value. This is very useful for manipulating multiple data sets

Easily return the number of bins and spectra in a workspace. This is not accessible in a single command once the data has been processed from the original format. In addition this should probably be extended to include further workspace properties such as the current units

Change History

comment:1 Changed 10 years ago by Martyn Gigg

(In [5270]) Added functions to find a bin index by X value and retrieve the number of bins. These have been exported to Python. Re #1375

comment:2 Changed 10 years ago by Martyn Gigg

  • Status changed from new to accepted

comment:3 Changed 10 years ago by Martyn Gigg

  • Status changed from accepted to testing
  • Resolution set to fixed

comment:4 Changed 10 years ago by Nick Draper

  • Status changed from testing to verify

Moved to verify state

comment:5 Changed 10 years ago by Michael Whitty

  • Status changed from verify to verifying
  • Tester set to Michael Whitty

comment:6 Changed 10 years ago by Michael Whitty

  • Status changed from verifying to closed

in #5905 - verified. binIndexOf() and getNumberBins() both work

currently no interface for axes in Python

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2222

Note: See TracTickets for help on using tickets.