Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re #9919 Usage code with non executable python code.
- Loading branch information
Ricardo Ferraz Leal
committed
Jul 18, 2014
1 parent
a4a1ed5
commit 9d64102
Showing
7 changed files
with
249 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
Code/Mantid/docs/source/algorithms/LoadILLReflectometry-v1.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
.. algorithm:: | ||
|
||
.. summary:: | ||
|
||
.. alias:: | ||
|
||
.. properties:: | ||
|
||
Description | ||
----------- | ||
|
||
Loads an ILL Reflectometry instrument NeXus file into a `Workspace2D <http://www.mantidproject.org/Workspace2D>`_ with | ||
the given name. | ||
|
||
This loader reads the detector position from the NeXus file and places it at the right position. | ||
It supports both TOF and non TOF modes. | ||
|
||
To date this Loader only supports D17 data. | ||
|
||
Usage | ||
----- | ||
|
||
**Example - Load ILL D17 NeXus file:** | ||
|
||
.. code-block:: python | ||
# Load ILL D17 data file into a workspace 2D. | ||
ws = Load('ILLD17_111686.nxs') | ||
print "This workspace has", ws.getNumDims(), "dimensions and has", ws.getNumberHistograms(), "histograms." | ||
Output: | ||
|
||
This workspace has 2 dimensions and has 258 histograms. | ||
|
||
.. categories:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters