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 lot 1 #10455

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

Add algorithm usage examples lot 1 #10455

NickDraper opened this issue Jun 8, 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/9577:


Please add testable algorithm usage examples. We have tried to allocate algorithms as fairly and sensibly as possible, but there will be some that you do not consider "yours".

There is help on how to document the algorithms in the following links:
http://www.mantidproject.org/Algorithm_Documentation
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. CuboidGaugeVolumeAbsorption.cpp
  2. CreateFlatEventWorkspace.cpp
  3. RecordPythonScript.cpp
  4. AddLogDerivative.cpp
  5. SignalOverError.cpp
  6. FilterByLogValue.cpp
  7. HRPDSlabCanAbsorption.cpp
  8. GetEi2.cpp
  9. SolidAngle.cpp
  10. ReplaceSpecialValues.cpp
  11. StripVanadiumPeaks2.cpp - already done by me in another ticket
  12. CompressEvents.cpp
@NickDraper
Copy link
Contributor Author

This issue was originally trac ticket 9612

@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 self-assigned this Jun 3, 2015
@NickDraper NickDraper added this to the Release 3.2 milestone Jun 3, 2015
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

1 participant