Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add algorithm usage examples #10458

Closed
NickDraper opened this issue Jun 9, 2014 · 1 comment
Closed

Add algorithm usage examples #10458

NickDraper opened this issue Jun 9, 2014 · 1 comment
Assignees
Labels
Documentation Issues and pull requests related to documentation High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Milestone

Comments

@NickDraper
Copy link
Contributor

Cloned from http://trac.mantidproject.org/mantid/ticket/9614:


Cloned from http://trac.mantidproject.org/mantid/ticket/9580:


A dd testable algorithm usage examples.

There is help on how to document the algorithms in the following links:
http://www.mantidproject.org/Algorithm_Usage_Examples
And there are examples implemented for '''Fit, Load, LoadISISNexus''' and '''Rebin'''.

To create workspaces to use in your usages you should try to create the workspace using CreateSampleWorkspace or CreateWorkspace, and only use a file if you really have no other option and the size is small.

In Visual studio you have two targets to create the documentation and run the doc tests (docs-html and docs-test in a documentation subfolder). You will need to update your Third Party Library.

If you are using Linux/Mac look here: https://github.com/mantidproject/mantid/blob/master/Code/Mantid/docs/README.md

  1. FakeMDEventData.cpp
  2. IndexSXPeaks.cpp
  3. GenerateEventsFilter.cpp
  4. GetEi.cpp
  5. Transpose.cpp
  6. SpatialGrouping.cpp
  7. FindDetectorsPar.cpp
  8. LoadCalFile.cpp
  9. LoadDspacemap.cpp
  10. LoadNexusLogs.cpp
  11. SaveDaveGrp.cpp
@NickDraper NickDraper added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. Documentation Issues and pull requests related to documentation labels Jun 3, 2015
@NickDraper NickDraper added this to the Release 3.2 milestone Jun 3, 2015
@NickDraper
Copy link
Contributor Author

This issue was originally trac ticket 9615

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Issues and pull requests related to documentation High Priority An issue or pull request that if not addressed is severe enough to postponse a release.
Projects
None yet
Development

No branches or pull requests

2 participants