Ticket #6110 (closed: fixed)
Expose FunctionFactory to python
Reported by: | Peter Peterson | Owned by: | Peter Peterson |
---|---|---|---|
Priority: | major | Milestone: | Release 2.4 |
Component: | Mantid | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: | Wenduo Zhou |
Description
It will be needed later for other things, but for now to support automatic help pages #6101.
Change History
comment:1 Changed 8 years ago by Peter Peterson
- Status changed from new to accepted
- Owner set to Peter Peterson
comment:2 Changed 8 years ago by Peter Peterson
Refs #6110. Exposed FunctionFactory to python.
Changeset: b618f8856e502f96ab2b0486e460259dce17c00b
comment:3 Changed 8 years ago by Peter Peterson
Refs #6110. Exposing IFunction and FunctionFactory to python.
Changeset: abc8ad4e127e0e84a6188b70080ee63767aba11f
comment:4 Changed 8 years ago by Peter Peterson
Refs #6110. Changed error message to be more professional.
Changeset: ab34a9ff32a5d3106ca38f39367a1d4c72038500
comment:5 Changed 8 years ago by Peter Peterson
Refs #6110. Adding unit tests for FunctionFactory in python.
Changeset: 4f626b57d0919c2e1b2096f3ea2059fec248db21
comment:6 Changed 8 years ago by Peter Peterson
- Status changed from accepted to verify
- Resolution set to fixed
To test this run:
import mantid.api mantid.api.FunctionFactory.getFunctionNames() a=mantid.api.FunctionFactory.createFunction("Gaussian") print str(a) print a.name() print a.categories()
comment:7 Changed 8 years ago by Peter Peterson
Refs #6110. Exposed FunctionFactory to python.
Changeset: b618f8856e502f96ab2b0486e460259dce17c00b
comment:8 Changed 8 years ago by Peter Peterson
Refs #6110. Exposing IFunction and FunctionFactory to python.
Changeset: abc8ad4e127e0e84a6188b70080ee63767aba11f
comment:9 Changed 8 years ago by Peter Peterson
Refs #6110. Changed error message to be more professional.
Changeset: ab34a9ff32a5d3106ca38f39367a1d4c72038500
comment:10 Changed 8 years ago by Peter Peterson
Refs #6110. Adding unit tests for FunctionFactory in python.
Changeset: 4f626b57d0919c2e1b2096f3ea2059fec248db21
comment:11 Changed 8 years ago by Wenduo Zhou
- Status changed from verify to verifying
- Tester set to Wenduo Zhou
comment:13 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 6956