Ticket #1753 (closed: invalid)
Q(S(Q)-1) from python
Reported by: | Peter Peterson | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | major | Milestone: | Release 2.6 |
Component: | Python | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Mathieu Doucet |
Description (last modified by Peter Peterson) (diff)
While preparing for a demo at a review I wanted to see how suited POWGEN was for PDF experiments by looking at the equation in the ticket summary. This is actually hiding a whole mess of tickets, but here is the collection point.
At the moment I can only do this from the mantidplot gui and it is very counter-intuitive. The long list of steps are:
- CreateSingleValueWorkspace('one', 1., 0.)
- Minus('PG3_732', 'one', 'final') - cannot currently do in place because the proxy workspace isn't there
- PowerLawCorrection('final', 'final', 1., 1.)
What I would like to type in python:
- var = mtd['PG3_732'].readX() * (mtd['PG3_732']-1)
Change History
comment:1 Changed 10 years ago by Nick Draper
- Owner set to Martyn Gigg
- Status changed from new to assigned
- Milestone changed from Iteration 25 to Iteration 26
comment:2 Changed 10 years ago by Nick Draper
- Milestone changed from Iteration 26 to Iteration 27
Bulk move of tickets to iteration 27, if your ticket is essential for Iteration 26 then move it back.
comment:3 Changed 10 years ago by Nick Draper
- Milestone changed from Iteration 27 to Iteration 28
Bulk move of tickets at the end of iteration 27
comment:4 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 28 to Iteration 29
Bulk move of tickets at the end of iteration 28
comment:5 Changed 9 years ago by Nick Draper
- Milestone changed from Iteration 29 to Iteration 30
Accepted and assigned tickets moved at iteration 29 code freeze
comment:6 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:7 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:8 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.2 to Release 2.3
Moved at the end of release 2.2
comment:10 Changed 8 years ago by Nick Draper
- Milestone changed from Release 2.3 to Release 2.4
Moved to milestone 2.4
comment:12 Changed 7 years ago by Nick Draper
- Milestone changed from Release 2.5 to Release 2.6
comment:13 Changed 7 years ago by Martyn Gigg
- Milestone changed from Release 2.6 to Release 2.7
Batch move to 2.7
comment:16 Changed 7 years ago by Peter Peterson
- Owner changed from Martyn Gigg to Peter Peterson
- Status changed from new to verify
- Resolution set to invalid
- Description modified (diff)
- Milestone changed from Backlog to Release 2.6
Not such a big deal now that http://www.mantidproject.org/TotalScatteringReduction methods work.
comment:17 Changed 7 years ago by Mathieu Doucet
- Status changed from verify to verifying
- Tester set to Mathieu Doucet
comment:19 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 2600