Ticket #2651 (assigned)
Add common commands to matrix workspaces in Python
Reported by: | Nick Draper | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | critical | Milestone: | Backlog |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
This could be implemented in:
- PythonAPI\src\workspaceproxies.cpp
- PythonAPI\MantidFramework.py
I suppose implementing it in C++ and exposing it is the best way.
The following options are uncontraversial (although only work on matrix workspaces):
- Clone
- Transpose
- Rebin (possibly also RebinToWorkspace, rebunch and regroup)
- ConvertUnits
- Crop
- Save (SaveNexus)
- Rename
These might be worth while:
- Mask.Extract (ExtractMasking)
- Mask.ApplyWS (Maskdetectors using a MaskedWorkspace)
- Mask.Apply (Maskdetectors specified detectors or spectra)
- Mask.ApplyBins (Maskbins)
- Integrate
- Sum (SumSpectra)
- Merge (MergeRuns)
- ReplaceSpeacialValues
- SolidAngle
- Scale
These I'm not too sure about:
- Load (Overwriting existing data, not the best way)
- Delete (it would be deleting itself and therefore rensering it's own handle invalid)
These would only work within Mantidplot (Martyn set's a magic flag):
- Display (shows the matrix)
- Plot (1D or colour map depending on dimensionality)
- DisplayInstrument
We could make plot work standalone if MatplotLib was available.
The names I have suggested are just suggestions, have a think about the overall user experience.
Change History
comment:2 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 29 to Iteration 30
"New" tickets moved at the code freeze of iteration 29
comment:3 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 30 to Iteration 31
Bulk move of tickets to iteration 31 at the iteration 30 code freeze
comment:4 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 32 to Iteration 33
Moved to iteration 33 at iteration 32 code freeze
comment:5 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:6 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.2 to Release 2.3
Moved at the end of release 2.2
comment:7 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.3 to Release 2.4
Moved to milestone 2.4
comment:11 Changed 7 years ago by Nick Draper
- Milestone changed from Release 2.6 to Backlog
Moved to the Backlog after R2.6
comment:12 Changed 7 years ago by Nick Draper
- Status changed from new to assigned
Bulk move to assigned at the introduction of the triage step
comment:13 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 3498
Bulk move of tickets at the end of iteration 28